1 MESSAGE(STATUS "===============================================")
2 MESSAGE(STATUS "Setting up deduced pathes:")
3 # Black box docs relative path
4 SET(${PROJECT_NAME}_BBDOC_REL_PATH ${${PROJECT_NAME}_DOC_REL_PATH}/bbdoc)
5 # Doxygen docs relative path
6 SET(${PROJECT_NAME}_DOXYGEN_REL_PATH ${${PROJECT_NAME}_DOC_REL_PATH}/doxygen)
8 MESSAGE(STATUS "* BBTK_BBDOC_REL_PATH =${BBTK_BBDOC_REL_PATH}")
9 MESSAGE(STATUS "* BBTK_DOXYGEN_REL_PATH =${BBTK_DOXYGEN_REL_PATH}")
11 # Now compute BUILD TREE **ABSOLUTE PATHS**
12 SET(${PROJECT_NAME}_DOC_BUILD_PATH ${PROJECT_BINARY_DIR}/${${PROJECT_NAME}_DOC_REL_PATH})
13 SET(${PROJECT_NAME}_BBDOC_BUILD_PATH ${PROJECT_BINARY_DIR}/${${PROJECT_NAME}_BBDOC_REL_PATH})
14 SET(${PROJECT_NAME}_DOXYGEN_BUILD_PATH ${PROJECT_BINARY_DIR}/${${PROJECT_NAME}_DOXYGEN_REL_PATH})
15 SET(${PROJECT_NAME}_BBS_BUILD_PATH ${PROJECT_BINARY_DIR}/${${PROJECT_NAME}_BBS_REL_PATH})
16 SET(${PROJECT_NAME}_DATA_BUILD_PATH ${PROJECT_BINARY_DIR}/${${PROJECT_NAME}_DATA_REL_PATH})
18 #SET(BBTK_DOC_INSTALL_PATH ${BBTK_INSTALL_PREFIX}/${BBTK_DOC_REL_PATH})
19 #SET(BBTK_BBDOC_INSTALL_PATH ${BBTK_INSTALL_PREFIX}/${BBTK_BBDOC_REL_PATH})
20 #SET(BBTK_DOXYGEN_INSTALL_PATH ${BBTK_INSTALL_PREFIX}/${BBTK_DOXYGEN_REL_PATH})
21 #SET(BBTK_BBS_INSTALL_PATH ${BBTK_INSTALL_PREFIX}/${BBTK_BBS_REL_PATH})
22 #SET(BBTK_DATA_INSTALL_PATH ${BBTK_INSTALL_PREFIX}/${BBTK_DATA_REL_PATH})
24 # LG 22/10/08 : REMOVED THE **ABSOLUTE INSTALL PATH**
25 # was buggy when packaging
27 # 1) generated packages are NOT relocatables
28 # 2) they must be installed at the same prefix than bbtk
29 SET(${PROJECT_NAME}_DOC_INSTALL_PATH ${${PROJECT_NAME}_DOC_REL_PATH})
30 SET(${PROJECT_NAME}_BBDOC_INSTALL_PATH ${${PROJECT_NAME}_BBDOC_REL_PATH})
31 SET(${PROJECT_NAME}_DOXYGEN_INSTALL_PATH ${${PROJECT_NAME}_DOXYGEN_REL_PATH})
32 SET(${PROJECT_NAME}_BBS_INSTALL_PATH ${${PROJECT_NAME}_BBS_REL_PATH})
33 SET(${PROJECT_NAME}_DATA_INSTALL_PATH ${${PROJECT_NAME}_DATA_REL_PATH})
38 # Create build directories if necessary
39 CREA_MKDIR(${${PROJECT_NAME}_DOC_BUILD_PATH})
40 CREA_MKDIR(${${PROJECT_NAME}_BBDOC_BUILD_PATH})
41 CREA_MKDIR(${${PROJECT_NAME}_DOXYGEN_BUILD_PATH})
42 CREA_MKDIR(${${PROJECT_NAME}_BBS_BUILD_PATH})
43 CREA_MKDIR(${${PROJECT_NAME}_DATA_BUILD_PATH})
45 #-----------------------------------------------------------------------------
46 SET (EXECUTABLE_OUTPUT_PATH
47 ${PROJECT_BINARY_DIR}/${EXECUTABLE_OUTPUT_REL_PATH})
48 SET (LIBRARY_OUTPUT_PATH
49 ${PROJECT_BINARY_DIR}/${LIBRARY_OUTPUT_REL_PATH})
50 #-----------------------------------------------------------------------------
51 MESSAGE(STATUS "* EXECUTABLE_OUTPUT_PATH=${EXECUTABLE_OUTPUT_PATH}")
52 MESSAGE(STATUS "* LIBRARY_OUTPUT_PATH =${LIBRARY_OUTPUT_PATH}")
54 #-----------------------------------------------------------------------------
55 # Today CMakeCreateFindPackage is copied in BBTK_CMAKE_DIR
56 # When installed as a separate project will have to find it with FIND_PACKAGE
57 SET(CMakeCreateFindPackage_DIR ${${PROJECT_NAME}_CMAKE_DIR})
58 #-----------------------------------------------------------------------------
61 MESSAGE(STATUS "===============================================")