"Build ${PROJECT_NAME} Guides', PDF format (latex)." FORCE)
ENDIF(BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF)
- IF(BUILD_BBTK_DOC_GUIDES_HTML)
+ IF(BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
SET(BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML OFF CACHE BOOL
"Build ${PROJECT_NAME} Guides', HTML format (latex tth)." FORCE)
ENDIF(BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML)
-
-INCLUDE(UserSetDeducedPaths.cmake)
-INCLUDE(UserDefineOptions.cmake)
\ No newline at end of file
+INCLUDE(cmake/UserMacros.cmake)
+INCLUDE(cmake/UserConfig.cmake)
+INCLUDE(cmake/UserSetDeducedPaths.cmake)
+INCLUDE(cmake/UserBuildAllOption.cmake)
+INCLUDE(cmake/UserDefineOptions.cmake)
\ No newline at end of file
+++ /dev/null
-#========================================================================
-# MACRO WHICH COPIES ALL IMAGES (png, jpg, gif)
-# FROM SOURCE TREE TO DOC BUILD TREE
-# AND INSTALL THEM IN BBTK DOC TREE
-MACRO(CREANEWPROJECT_DOC_INSTALL_IMAGES DOC_RELATIVE_INSTALL_PATH)
- MESSAGE(STATUS "* Copying png,jpg,tif images in ${BBTK_DOC_BUILD_PATH}/${DOC_RELATIVE_INSTALL_PATH}")
- FILE(GLOB PNG_IMAGES "*.png")
- FILE(GLOB JPG_IMAGES "*.jpg")
- FILE(GLOB TIF_IMAGES "*.tif")
- SET(IMAGES
- ${PNG_IMAGES}
- ${JPG_IMAGES}
- ${TIF_IMAGES}
- )
-# MESSAGE(ERROR ${IMAGES} )
- FOREACH(image ${IMAGES})
- GET_FILENAME_COMPONENT(filename "${image}" NAME)
- CONFIGURE_FILE(
- ${image}
- ${BBTK_DOC_BUILD_PATH}/${DOC_RELATIVE_INSTALL_PATH}/${filename}
- COPYONLY
- )
-
- # IF (WIN32)
-# CONFIGURE_FILE(
-# ${image}
-# ${CMAKE_CURRENT_BINARY_DIR}/${filename}
-# COPYONLY
-# )
-# ENDIF(WIN32)
- # MESSAGE(ERROR "${image} (${filename}) in : ${PROJECT_BINARY_DIR}/${BBTK_DOC_INSTALL_PATH}/${DOC_RELATIVE_INSTALL_PATH}/${filename}")
- ENDFOREACH(image)
- INSTALL(
- FILES ${IMAGES}
- DESTINATION ${BBTK_DOC_INSTALL_PATH}/${DOC_RELATIVE_INSTALL_PATH}
- )
-ENDMACRO(CREANEWPROJECT_DOC_INSTALL_IMAGES)
\ No newline at end of file
#-----------------------------------------------------------------------------
IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
- INCLUDE(../cmake/BBTKBuildDoxygenDoc.cmake)
- SUBDIRS(bbtkDoxygen)
-ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_BBTK_DOC_DOXYGEN)
+ INCLUDE(../cmake/UserBuildDoxygenDoc.cmake)
+ SUBDIRS(UserDoxygen)
+ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
MESSAGE(STATUS "")
MESSAGE(STATUS "=======================================")
-MESSAGE(STATUS "Configuring bbtk doxygen doc")
+MESSAGE(STATUS "Configuring user doxygen doc")
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/CodingStyle.html
SET(INPUT
${CMAKE_CURRENT_BINARY_DIR}/DoxyMainPage.txt
- ${PROJECT_SOURCE_DIR}/kernel/src
- ${PROJECT_SOURCE_DIR}/kernel/appli
+ ${PROJECT_SOURCE_DIR}/lib
+ ${PROJECT_SOURCE_DIR}/appli
)
-INCLUDE(${BBTK_CMAKE_DIR}/BBTKBuildDoxygenDoc.cmake)
-BBTK_BUILD_DOXYGEN_DOC(
- "BBTK"
+INCLUDE(../../cmake/UserBuildDoxygenDoc.cmake)
+USER_BUILD_DOXYGEN_DOC(
+ "${PROJECT_NAME}"
"${INPUT}"
- "bbtk"
+ "${PROJECT_NAME}"
"${DOXYGEN_DOC_PREDEFINED}"
)
MESSAGE(STATUS "Configuring User html doc")
# Configure & install images
-CREANEWPROJECT_DOC_INSTALL(template_WebSite)
+USER_DOC_INSTALL_IMAGES(template_WebSite)
# Configure html pages for build tree and install
FILE(GLOB HTML_PAGES "." "*.html")