]> Creatis software - bbtk.git/blob - kernel/cmake/BBTKConfigureBbtkConfigXmlForBuildTree.cmake
Windows compilation
[bbtk.git] / kernel / cmake / BBTKConfigureBbtkConfigXmlForBuildTree.cmake
1 #-----------------------------------------------------------------------------
2 # bbtk_config.xml for the build tree
3 IF(UNIX)
4   CONFIGURE_FILE(
5     ${BBTK_CMAKE_DIR}/bbtk_config_build.xml.in
6     ${EXECUTABLE_OUTPUT_PATH}/bbtk_config.xml
7     @ONLY IMMEDIATE
8    )
9 ELSE(UNIX)
10   CONFIGURE_FILE(
11     ${BBTK_CMAKE_DIR}/bbtk_config_build.xml.in
12     ${EXECUTABLE_OUTPUT_PATH}/Debug/bbtk_config.xml
13     @ONLY IMMEDIATE
14    )
15   CONFIGURE_FILE(
16     ${BBTK_CMAKE_DIR}/bbtk_config_build.xml.in
17     ${EXECUTABLE_OUTPUT_PATH}/Release/bbtk_config.xml
18     @ONLY IMMEDIATE
19    )
20 ENDIF(UNIX)
21 #-----------------------------------------------------------------------------