Changeset 2670 for code/branches/buildsystem3/doc
- Timestamp:
- Feb 15, 2009, 7:53:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/doc/api/CMakeLists.txt
r2664 r2670 65 65 STRING(REGEX REPLACE "/" "\\\\" HHP_FILE ${TMP}) 66 66 ADD_CUSTOM_TARGET(chmdoc ${HTML_HELP_COMPILER} ${HHP_FILE}) 67 IF(NOT MSVC) 68 ADD_DEPENDENCIES(chmdoc doc) 69 ELSE(NOT MSVC) 70 # Do not add the dependency because msvc will then always build 71 # Doxygen, which is not very comforting. 72 ENDIF(NOT MSVC) 67 ADD_DEPENDENCIES(chmdoc doc) 68 # Adding a dependency somehow adds doc target as default build target 69 SET_TARGET_PROPERTIES(doc chmdoc PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD TRUE) 73 70 ENDIF(HTML_HELP_COMPILER) 74 71 ENDIF (WIN32) … … 81 78 OPTIONAL 82 79 ) 83 IF(EXISTS ${CMAAKE_CURRENT_BINARY_DIR}/html) 84 INSTALL( 85 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html 86 DESTINATION ${ORXONOX_DOC_INSTALL_PATH}/api 87 ) 80 # Install command always needs the directory to work 81 IF(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/html) 82 FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html) 88 83 ENDIF() 84 INSTALL( 85 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html 86 DESTINATION ${ORXONOX_DOC_INSTALL_PATH}/api 87 ) 89 88 ENDIF(DOXYGEN_FOUND)
Note: See TracChangeset
for help on using the changeset viewer.