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