Changeset 26 in pacpusframework for trunk/cmake
- Timestamp:
- Jan 8, 2013, 5:00:30 PM (12 years ago)
- Location:
- trunk/cmake
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusConfiguration.cmake
r3 r26 21 21 set(PACPUS_USE_LOG TRUE CACHE BOOL "Logging using log4cxx, the library is required") 22 22 set(PACPUS_INSTALL_3RD FALSE CACHE BOOL "Installation of the 3rd party") 23 set(PACPUS_BUILD_DOC FALSE CACHE BOOL "Whether build the documentation (require Doxygen)") -
trunk/cmake/PacpusDependencies.cmake
r7 r26 45 45 endif() 46 46 endif() 47 48 # ======================================== 49 # Doxygen 50 # ======================================== 51 if (PACPUS_BUILD_DOC) 52 find_package(Doxygen) 53 if (NOT DOXYGEN_FOUND) 54 message(FATAL_ERROR "Doxygen is needed to build the documentation. Please install it correctly") 55 endif() 56 endif() -
trunk/cmake/PacpusInstall.cmake
r7 r26 39 39 ) 40 40 endif() 41 42 # ======================================== 43 # Installation of the documentation 44 # ======================================== 45 if (PACPUS_BUILD_DOC) 46 install( 47 DIRECTORY 48 ${CMAKE_BINARY_DIR}/doc/html 49 DESTINATION 50 ${PACPUS_INSTALL_DIR}/doc 51 ) 52 endif()
Note:
See TracChangeset
for help on using the changeset viewer.