]> Creatis software - creaRigidRegistration.git/blob - cmake/UserConfig.cmake
*** empty log message ***
[creaRigidRegistration.git] / cmake / UserConfig.cmake
1
2
3 #-----------------------------------------------------------------------------
4 # The vars BBTK_DOC_REL_PATH and BBTK_BBS_REL_PATH
5 # store documentation and scripts **RELATIVE** paths  
6 # from build tree root or install tree root
7 # (different on win/lin)
8 IF(WIN32)
9   # A trick to install in root install dir (problem when empty path given)
10   SET(${PROJECT_NAME}_SHARE_REL_PATH "bin/..")
11   SET(${PROJECT_NAME}_DOC_REL_PATH doc) 
12 ELSE(WIN32)
13   SET(${PROJECT_NAME}_SHARE_REL_PATH share/bbtk)
14   SET(${PROJECT_NAME}_DOC_REL_PATH share/bbtk/doc)  
15 ENDIF(WIN32)   
16
17 MESSAGE(STATUS "* SHARE_REL_PATH   =${${PROJECT_NAME}_SHARE_REL_PATH}")
18 MESSAGE(STATUS "* DOC_REL_PATH     =${${PROJECT_NAME}_DOC_REL_PATH}")
19 MESSAGE(STATUS "* BBS_REL_PATH     =${${PROJECT_NAME}_BBS_REL_PATH}")
20 MESSAGE(STATUS "* DATA_REL_PATH    =${${PROJECT_NAME}_DATA_REL_PATH}")
21 MESSAGE(STATUS "===============================================")
22
23 #-----------------------------------------------------------------------------