1 # Relative path to the data used by bbc from data root folder
2 SET(bbc_DATA_REL_PATH_FROM_DATA kernel/bbc)
3 # Relative path to the data used by bbc from bin folder
4 SET(bbc_DATA_REL_PATH_FROM_BIN ../${BBTK_DATA_REL_PATH}/${bbc_DATA_REL_PATH_FROM_DATA})
10 SET(bbc_CMAKE_OPTION_FOR_BUILD_TREE "-DBBTK_DIR=${PROJECT_BINARY_DIR}")
12 ${CMAKE_CURRENT_SOURCE_DIR}/main.cxx.in
13 ${BBTK_DATA_BUILD_PATH}/${bbc_DATA_REL_PATH_FROM_DATA}/main.cxx.in
17 ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt.in
18 ${BBTK_DATA_BUILD_PATH}/${bbc_DATA_REL_PATH_FROM_DATA}/CMakeLists.txt.in
22 ${CMAKE_CURRENT_SOURCE_DIR}/bbc.sh.in
23 ${BBTK_BINARY_DIR}/bin/bbc
27 SET(bbc_CMAKE_OPTION_FOR_BUILD_TREE "")
29 ${CMAKE_CURRENT_SOURCE_DIR}/bbc.sh.in
30 ${CMAKE_CURRENT_BINARY_DIR}/bbc
34 FILES ${CMAKE_CURRENT_SOURCE_DIR}/main.cxx.in ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt.in
35 DESTINATION ${BBTK_DATA_INSTALL_PATH}/${bbc_DATA_REL_PATH_FROM_DATA}
38 PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bbc