Changeset 2709 for code/branches/buildsystem3/src
- Timestamp:
- Feb 28, 2009, 7:15:37 PM (16 years ago)
- Location:
- code/branches/buildsystem3/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/core/Core.cc
r2703 r2709 77 77 78 78 SetCommandLineArgument(mediaPath, "").information("PATH"); 79 SetCommandLineArgument(directory, "").information("DIR"); 79 80 80 81 /** … … 426 427 #endif 427 428 } 429 430 // Option to put all the config and log files in a separate folder 431 if (!CommandLine::getArgument("directory")->hasDefaultValue()) 432 { 433 std::string directory(CommandLine::getValue("directory")); 434 configPath_g = configPath_g / directory; 435 logPath_g = logPath_g / directory; 436 } 428 437 } 429 438 -
code/branches/buildsystem3/src/orxonox/Main.cc
r2702 r2709 92 92 using namespace orxonox; 93 93 94 Core::postMainInitialisation();95 96 94 // create a signal handler (only active for linux) 97 95 SignalHandler signalHandler; … … 108 106 COUT(0) << "Usage:" << std::endl << "orxonox " << CommandLine::getUsageInformation() << std::endl; 109 107 } 108 109 // Do this after parsing the command line to allow customisation 110 Core::postMainInitialisation(); 110 111 111 112 // Create the ConfigFileManager before creating the GameStates in order to have
Note: See TracChangeset
for help on using the changeset viewer.