Revision: 78041
http://sourceforge.net/p/brlcad/code/78041
Author: starseeker
Date: 2021-01-05 20:50:03 +0000 (Tue, 05 Jan 2021)
Log Message:
-----------
Grr. Windows bat file test.
Modified Paths:
--------------
brlcad/trunk/src/mged/CMakeLists.txt
Added Paths:
-----------
brlcad/trunk/src/mged/mged.bat
Modified: brlcad/trunk/src/mged/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/mged/CMakeLists.txt 2021-01-05 20:04:53 UTC (rev
78040)
+++ brlcad/trunk/src/mged/CMakeLists.txt 2021-01-05 20:50:03 UTC (rev
78041)
@@ -95,11 +95,13 @@
add_dependencies(mged ${item})
endforeach(item ${tclindex_target_list})
+ BRLCAD_MANAGE_FILES("mged.bat" ${BIN_DIR} EXEC)
+
# MGED is one of the programs that gets a start menu entry
- set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:mged>"
+ set_property(INSTALL "${BIN_DIR}/mged.bat"
PROPERTY CPACK_START_MENU_SHORTCUTS "MGED ${BRLCAD_VERSION}"
)
- set_property(INSTALL "${BIN_DIR}/$<TARGET_FILE_NAME:mged>"
+ set_property(INSTALL "${BIN_DIR}/mged.bat"
PROPERTY CPACK_DESKTOP_SHORTCUTS "MGED ${BRLCAD_VERSION}"
)
Added: brlcad/trunk/src/mged/mged.bat
===================================================================
--- brlcad/trunk/src/mged/mged.bat (rev 0)
+++ brlcad/trunk/src/mged/mged.bat 2021-01-05 20:50:03 UTC (rev 78041)
@@ -0,0 +1,30 @@
+REM M G E D . B A T
+REM BRL-CAD
+REM
+REM Copyright (c) 2006-2021 United States Government as represented by
+REM the U.S. Army Research Laboratory.
+REM
+REM This library is free software; you can redistribute it and/or
+REM modify it under the terms of the GNU Lesser General Public License
+REM version 2.1 as published by the Free Software Foundation.
+REM
+REM This library is distributed in the hope that it will be useful, but
+REM WITHOUT ANY WARRANTY; without even the implied warranty of
+REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+REM Lesser General Public License for more details.
+REM
+REM You should have received a copy of the GNU Lesser General Public
+REM License along with this file; see the file named COPYING for more
+REM information.
+REM
+
+@ECHO OFF
+
+SETLOCAL
+
+SET PATH=%~dp0;%PATH%
+SET MGED=%~dp0mged
+
+START /B "" "%MGED%" -W ~ %*
+
+EXIT
Property changes on: brlcad/trunk/src/mged/mged.bat
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+CRLF
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits