From: jean-pierre roux Date: Tue, 9 Mar 2010 10:14:00 +0000 (+0000) Subject: (try to) generate doc :-( X-Git-Tag: CREATOOLS.2-0-3~19 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bfe428592699ed649b39cd94ddf55a4ffebc92c6;p=creaBruker.git (try to) generate doc :-( --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e8eba10..f8591a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,8 +14,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # for CMake 2.6 corrected behaviour (see "cmake --help-policy CMP0003") IF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4) CMAKE_POLICY(SET CMP0003 NEW) - CMAKE_POLICY(SET CMP0011 NEW) CMAKE_POLICY(SET CMP0005 NEW) + CMAKE_POLICY(SET CMP0011 NEW) ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4) ################################### diff --git a/cmake/UserBuildDoxygenDoc.cmake b/cmake/UserBuildDoxygenDoc.cmake index 2446671..4ecbfeb 100644 --- a/cmake/UserBuildDoxygenDoc.cmake +++ b/cmake/UserBuildDoxygenDoc.cmake @@ -49,7 +49,6 @@ MACRO(USER_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED) @ONLY IMMEDIATE ) - ADD_CUSTOM_COMMAND( OUTPUT ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/index.html COMMAND @@ -58,7 +57,7 @@ MACRO(USER_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED) ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.txt # DEPENDS bbtk bbi ) - + ADD_CUSTOM_TARGET(doxygen_${NAME} ALL DEPENDS ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/index.html ) diff --git a/doc/README_HowToUpload.txt b/doc/README_HowToUpload.txt index a6bf91c..0dcfc21 100644 --- a/doc/README_HowToUpload.txt +++ b/doc/README_HowToUpload.txt @@ -2,4 +2,4 @@ After builing ALL : cd in the build tree cd share/doc -rsync -rtvO . tux:/var/www/html/software/creatools/bbtk/v0_9_0/ --perms --chmod=Dg+s,ug+w +rsync -rtvO . tux:/var/www/html/software/public/creatools/bbtk/v0_9_0/ --perms --chmod=Dg+s,ug+w diff --git a/doc/UserDoxygen/CMakeLists.txt b/doc/UserDoxygen/CMakeLists.txt index 9fab474..c90be3e 100644 --- a/doc/UserDoxygen/CMakeLists.txt +++ b/doc/UserDoxygen/CMakeLists.txt @@ -15,8 +15,14 @@ CONFIGURE_FILE( SET(INPUT ${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt - ${PROJECT_SOURCE_DIR}/lib + ${PROJECT_SOURCE_DIR}/lib + # --> Add here more library directories if you want them to be documented! + ${PROJECT_SOURCE_DIR}/lib/src1 + ${PROJECT_SOURCE_DIR}/appli + # --> Add here more appli directories if you want them to be documented! + ${PROJECT_SOURCE_DIR}/appli/testBruker2Dicom + ${PROJECT_SOURCE_DIR}/appli/PrintParameterFile ) INCLUDE(../../cmake/UserBuildDoxygenDoc.cmake) @@ -26,5 +32,4 @@ USER_BUILD_DOXYGEN_DOC( "${PROJECT_NAME}" "${DOXYGEN_DOC_PREDEFINED}" ) - MESSAGE(STATUS "=======================================")