doc/CMakeLists.txt
changeset 539 20e3acc1a757
parent 502 8668e1b5dafb
child 578 7c12061bd271
equal deleted inserted replaced
5:a678edf331f4 6:13eb8e01b51a
     1 SET(PACKAGE_NAME ${PROJECT_NAME})
     1 SET(PACKAGE_NAME ${PROJECT_NAME})
     2 SET(PACKAGE_VERSION ${PROJECT_VERSION})
     2 SET(PACKAGE_VERSION ${PROJECT_VERSION})
     3 SET(abs_top_srcdir ${CMAKE_SOURCE_DIR})
     3 SET(abs_top_srcdir ${PROJECT_SOURCE_DIR})
     4 SET(abs_top_builddir ${CMAKE_BINARY_DIR})
     4 SET(abs_top_builddir ${PROJECT_BINARY_DIR})
     5 
     5 
     6 CONFIGURE_FILE(
     6 CONFIGURE_FILE(
     7   ${CMAKE_SOURCE_DIR}/doc/Doxyfile.in
     7   ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
     8   ${CMAKE_BINARY_DIR}/doc/Doxyfile
     8   ${PROJECT_BINARY_DIR}/doc/Doxyfile
     9   @ONLY)
     9   @ONLY)
    10 
    10 
    11 IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)
    11 IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)
    12   FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/)
    12   FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/)
    13   IF(UNIX)
    13   IF(UNIX)