[Orxonox-commit 3057] r7752 - code/branches/presentation/bin

dafrick at orxonox.net dafrick at orxonox.net
Fri Dec 10 13:47:34 CET 2010


Author: dafrick
Date: 2010-12-10 13:47:34 +0100 (Fri, 10 Dec 2010)
New Revision: 7752

Added:
   code/branches/presentation/bin/masterserver.bat.in
   code/branches/presentation/bin/masterserver.in
Modified:
   code/branches/presentation/bin/CMakeLists.txt
Log:
Adding runscript for masterserver. So far only tested under ubuntu.


Modified: code/branches/presentation/bin/CMakeLists.txt
===================================================================
--- code/branches/presentation/bin/CMakeLists.txt	2010-12-09 11:45:33 UTC (rev 7751)
+++ code/branches/presentation/bin/CMakeLists.txt	2010-12-10 12:47:34 UTC (rev 7752)
@@ -25,7 +25,7 @@
  #
 
 # Create run scripts for Windows to manually add the DLL path when executing
-SET(RUN_SCRIPTS run standalone client1 client2 server dedicated dedicatedClient)
+SET(RUN_SCRIPTS run standalone client1 client2 server dedicated dedicatedClient masterserver)
 IF(WIN32)
   FOREACH(_script ${RUN_SCRIPTS})
     LIST(REMOVE_ITEM RUN_SCRIPTS ${_script})

Added: code/branches/presentation/bin/masterserver.bat.in
===================================================================
--- code/branches/presentation/bin/masterserver.bat.in	                        (rev 0)
+++ code/branches/presentation/bin/masterserver.bat.in	2010-12-10 12:47:34 UTC (rev 7752)
@@ -0,0 +1,4 @@
+title @PROJECT_NAME@
+path @RUNTIME_LIBRARY_DIRECTORY_WINDOWS@;%path%
+ at CURRENT_RUNTIME_DIR_WINDOWS@\@ORXONOX_EXECUTABLE_NAME@ --masterserver --writingPathSuffix masterserver
+pause

Added: code/branches/presentation/bin/masterserver.in
===================================================================
--- code/branches/presentation/bin/masterserver.in	                        (rev 0)
+++ code/branches/presentation/bin/masterserver.in	2010-12-10 12:47:34 UTC (rev 7752)
@@ -0,0 +1,4 @@
+#!/bin/sh
+# convenience script for starting orxonox on Linux
+
+exec @CURRENT_RUNTIME_DIR@/@ORXONOX_EXECUTABLE_NAME@ --masterserver --writingPathSuffix masterserver $@


Property changes on: code/branches/presentation/bin/masterserver.in
___________________________________________________________________
Added: svn:executable
   + *




More information about the Orxonox-commit mailing list