Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 4, 2010, 1:10:43 AM (14 years ago)
Author:
rgrieder
Message:

Added "doc_internal" target. It generates additional documentation from the executable.
That enables to gather information at run time (e.g. SetConsoleCommand, SetCommandLineArgument, registerNetworkFunction, etc.) and then write useful Doxygen documentation to one file.
Currently there is no implementation, just a stub in src/orxonox/Main.cc that can be extended.

File:
1 edited

Legend:

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

    r7334 r7346  
    4646  #ENDIF (NOT DVIPS_CONVERTER)
    4747
     48  SET(INTERNAL_DOCFILE ${CMAKE_CURRENT_BINARY_DIR}/Internal.dox)
     49  IF(WIN32)
     50    SET(_working_dir ${RUNTIME_LIBRARY_DIRECTORY})
     51  ELSE()
     52    SET(_working_dir ${CMAKE_CURRENT_BINARY_DIR})
     53  ENDIF()
     54  ADD_CUSTOM_COMMAND(
     55    OUTPUT ${INTERNAL_DOCFILE}
     56    COMMAND orxonox-main
     57    ARGS --noIOConsole --generateDoc ${INTERNAL_DOCFILE}
     58    WORKING_DIRECTORY ${_working_dir}
     59    COMMENT "Generating additional Doxygen documentation from Orxonox executable"
     60  )
     61  ADD_CUSTOM_TARGET(doc_internal DEPENDS ${INTERNAL_DOCFILE})
     62
    4863  IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/doxy.config.in)
    4964    # use (configured) doxy.config from (out of place) BUILD tree:
Note: See TracChangeset for help on using the changeset viewer.