[Orxonox-commit 32] r2745 - trunk/bin
rgrieder at orxonox.net
rgrieder at orxonox.net
Wed Mar 4 13:49:09 CET 2009
Author: rgrieder
Date: 2009-03-04 13:49:09 +0100 (Wed, 04 Mar 2009)
New Revision: 2745
Modified:
trunk/bin/CMakeLists.txt
Log:
Fixed missing dedicated run script on windows.
Modified: trunk/bin/CMakeLists.txt
===================================================================
--- trunk/bin/CMakeLists.txt 2009-03-04 12:46:29 UTC (rev 2744)
+++ trunk/bin/CMakeLists.txt 2009-03-04 12:49:09 UTC (rev 2745)
@@ -25,10 +25,12 @@
#
# Create run scripts for Windows to manually add the DLL path when executing
+SET(RUN_SCRIPTS run client1 client2 server dedicated)
IF(WIN32)
- SET(RUN_SCRIPTS run.bat client1.bat client2.bat server.bat)
-ELSEIF(UNIX)
- SET(RUN_SCRIPTS run client1 client2 server dedicated)
+ FOREACH(_script ${RUN_SCRIPTS})
+ LIST(REMOVE_ITEM RUN_SCRIPTS ${_script})
+ LIST(APPEND RUN_SCRIPTS ${_script}.bat)
+ ENDFOREACH(_script)
ENDIF()
IF(NOT CMAKE_CONFIGURATION_TYPES)
More information about the Orxonox-commit
mailing list