Changeset 2656
- Timestamp:
- Feb 14, 2009, 4:43:16 PM (16 years ago)
- Location:
- code/branches/buildsystem2
- Files:
-
- 3 added
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/CMakeLists.txt
r2644 r2656 52 52 53 53 # Last but not least: Try to make doxygen target 54 INCLUDE(DocumentationTarget)54 ADD_SUBDIRECTORY(doc) -
code/branches/buildsystem2/doc/api/CMakeLists.txt
r2653 r2656 1 # -helper macro to add a "doc" target with CMake build system.2 # and configure doxy.config.in to doxy.config1 # Add a "doc" target with CMake build system. 2 # And configure doxy.config.in to doxy.config 3 3 # 4 4 # target "doc" allows building the documentation with doxygen/dot on WIN32 and Linux … … 29 29 SET(DOXY_WARN_FORMAT "\"$file:$line: $text \"") 30 30 ENDIF() 31 32 SET(DOXY_INPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}) 33 SET(DOXY_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}) 31 34 32 35 # we need latex for doxygen because of the formulas … … 43 46 #ENDIF (NOT DVIPS_CONVERTER) 44 47 45 IF(EXISTS ${CMAKE_ SOURCE_DIR}/doxy.config.in)46 CONFIGURE_FILE(${CMAKE_ SOURCE_DIR}/doxy.config.in ${CMAKE_BINARY_DIR}/doxy.config @ONLY)48 IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/doxy.config.in) 49 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/doxy.config.in ${CMAKE_CURRENT_BINARY_DIR}/doxy.config @ONLY) 47 50 # use (configured) doxy.config from (out of place) BUILD tree: 48 SET(DOXY_CONFIG ${CMAKE_ BINARY_DIR}/doxy.config)51 SET(DOXY_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/doxy.config) 49 52 ELSE() 50 53 MESSAGE(STATUS "Warning: Could not find dox.config.in in the root directory.") … … 59 62 FIND_PACKAGE(HTMLHelp) 60 63 IF(HTML_HELP_COMPILER) 61 SET(TMP ${ CMAKE_CURRENT_BINARY_DIR}/doc/html/index.hhp)64 SET(TMP ${DOXY_OUTPUT_DIR}/html/index.hhp) 62 65 STRING(REGEX REPLACE "/" "\\\\" HHP_FILE ${TMP}) 63 66 ADD_CUSTOM_TARGET(chmdoc ${HTML_HELP_COMPILER} ${HHP_FILE}) -
code/branches/buildsystem2/doc/api/doxy.config.in
r2653 r2656 31 31 # where doxygen was started. If left blank the current directory will be used. 32 32 33 OUTPUT_DIRECTORY = doc33 OUTPUT_DIRECTORY = @DOXY_OUTPUT_DIR@ 34 34 35 35 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create … … 116 116 # path to strip. 117 117 118 STRIP_FROM_PATH = @CMAKE_ CURRENT_SOURCE_DIR@118 STRIP_FROM_PATH = @CMAKE_SOURCE_DIR@ 119 119 120 120 … … 126 126 # are normally passed to the compiler using the -I flag. 127 127 128 STRIP_FROM_INC_PATH = @CMAKE_ CURRENT_SOURCE_DIR@/128 STRIP_FROM_INC_PATH = @CMAKE_SOURCE_DIR@ 129 129 130 130 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter … … 450 450 # to stderr. 451 451 452 WARN_LOGFILE = doc/doxy.log452 WARN_LOGFILE = @DOXY_OUTPUT_DIR@/doxy.log 453 453 454 454 #--------------------------------------------------------------------------- … … 462 462 463 463 INPUT = @CMAKE_SOURCE_DIR@/src \ 464 @CMAKE_ CURRENT_BINARY_DIR@/src464 @CMAKE_BINARY_DIR@/src 465 465 466 466 # If the value of the INPUT tag contains directories, you can use the … … 508 508 # the \include command). 509 509 510 EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/Base/Common/Examples \ 511 @CMAKE_CURRENT_SOURCE_DIR@/Base/Debug/Examples \ 512 @CMAKE_CURRENT_SOURCE_DIR@/Base/Math/Examples \ 513 @CMAKE_CURRENT_SOURCE_DIR@/Base/Image/Examples \ 514 @CMAKE_CURRENT_SOURCE_DIR@/Base/Geometry/Examples \ 515 @CMAKE_CURRENT_SOURCE_DIR@/MathAlgo/Examples \ 516 @CMAKE_CURRENT_SOURCE_DIR@/Geometry/Examples \ 517 @CMAKE_CURRENT_SOURCE_DIR@/CornerDetector/Examples \ 518 @CMAKE_CURRENT_SOURCE_DIR@/Image/Examples \ 519 @CMAKE_CURRENT_SOURCE_DIR@/StateEstimator/Examples \ 520 @CMAKE_CURRENT_SOURCE_DIR@/Matcher2D/Examples \ 521 @CMAKE_CURRENT_SOURCE_DIR@/Utils/Examples \ 522 @CMAKE_CURRENT_SOURCE_DIR@/Gui/Examples \ 523 @CMAKE_CURRENT_SOURCE_DIR@/FeatureDetector/Examples \ 524 @CMAKE_CURRENT_SOURCE_DIR@/doc \ 525 @CMAKE_CURRENT_SOURCE_DIR@ 510 EXAMPLE_PATH = @DOXY_INPUT_DIR@ 526 511 527 512 # If the value of the EXAMPLE_PATH tag contains directories, you can use the … … 547 532 # the \image command). 548 533 549 IMAGE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/doc \ 550 @CMAKE_CURRENT_SOURCE_DIR@/Tests/data \ 551 @CMAKE_CURRENT_SOURCE_DIR@ 534 IMAGE_PATH = @DOXY_INPUT_DIR@ 552 535 553 536 … … 1078 1061 # a tag file that is based on the input files it reads. 1079 1062 1080 GENERATE_TAGFILE = doc/html/@PROJECT_NAME@.TAGFILE1063 GENERATE_TAGFILE = @DOXY_OUTPUT_DIR@/html/@PROJECT_NAME@.TAGFILE 1081 1064 1082 1065 # If the ALLEXTERNALS tag is set to YES all external classes will be listed
Note: See TracChangeset
for help on using the changeset viewer.