Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7353


Ignore:
Timestamp:
Sep 5, 2010, 2:15:47 AM (14 years ago)
Author:
rgrieder
Message:

Fixed bug. No comment…

Location:
code/branches/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/doc/api/CMakeLists.txt

    r7347 r7353  
    5555    OUTPUT ${INTERNAL_DOCFILE}
    5656    COMMAND orxonox-main
    57     ARGS --noIOConsole --generateDoc ${INTERNAL_DOCFILE}
     57    ARGS --noIOConsole --generateDoc --docFile ${INTERNAL_DOCFILE}
    5858    WORKING_DIRECTORY ${_working_dir}
    5959    COMMENT "Generating additional Doxygen documentation from Orxonox executable"
  • code/branches/doc/src/orxonox/Main.cc

    r7346 r7353  
    6262
    6363    //! @cmdarg
    64     SetCommandLineArgument(generateDoc, "Internal.dox")
     64    SetCommandLineSwitch(generateDoc)
    6565        .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");
    6669
    6770    /**
     
    7376        Game* game = new Game(strCmdLine);
    7477
    75         if (CommandLineParser::existsArgument("generateDoc"))
     78        if (CommandLineParser::getValue("generateDoc").getBool())
    7679        {
    7780            // Generate additional documentation written to ONE file
    7881            std::string filename;
    79             CommandLineParser::getValue("generateDoc", &filename);
     82            CommandLineParser::getValue("docFile", &filename);
    8083        }
    8184        else
Note: See TracChangeset for help on using the changeset viewer.