Changeset 7353 for code/branches/doc
- Timestamp:
- Sep 5, 2010, 2:15:47 AM (14 years ago)
- Location:
- code/branches/doc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/doc/api/CMakeLists.txt
r7347 r7353 55 55 OUTPUT ${INTERNAL_DOCFILE} 56 56 COMMAND orxonox-main 57 ARGS --noIOConsole --generateDoc ${INTERNAL_DOCFILE}57 ARGS --noIOConsole --generateDoc --docFile ${INTERNAL_DOCFILE} 58 58 WORKING_DIRECTORY ${_working_dir} 59 59 COMMENT "Generating additional Doxygen documentation from Orxonox executable" -
code/branches/doc/src/orxonox/Main.cc
r7346 r7353 62 62 63 63 //! @cmdarg 64 SetCommandLine Argument(generateDoc, "Internal.dox")64 SetCommandLineSwitch(generateDoc) 65 65 .information("Generates a Doxygen file from things like SetConsoleCommand"); 66 //! @cmdarg 67 SetCommandLineArgument(docFile, "Internal.dox") 68 .information("Name of the doc file to be generated with --generateDoc"); 66 69 67 70 /** … … 73 76 Game* game = new Game(strCmdLine); 74 77 75 if (CommandLineParser:: existsArgument("generateDoc"))78 if (CommandLineParser::getValue("generateDoc").getBool()) 76 79 { 77 80 // Generate additional documentation written to ONE file 78 81 std::string filename; 79 CommandLineParser::getValue(" generateDoc", &filename);82 CommandLineParser::getValue("docFile", &filename); 80 83 } 81 84 else
Note: See TracChangeset
for help on using the changeset viewer.