+IF(UNIX)
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/bbc.sh.in
+ ${BBTK_BINARY_DIR}/bin/bbc
+ @ONLY IMMEDIATE
+ )
+ INSTALL(
+ PROGRAMS ${BBTK_BINARY_DIR}/bin/bbc
+ DESTINATION bin
+ )
+ELSE(UNIX)
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/bbc.bat.in
+ ${CMAKE_CURRENT_BINARY_DIR}/bbc.bat
+ @ONLY IMMEDIATE
+ )
+ INSTALL(
+ PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bbc.bat
+ DESTINATION bin
+ )
+ENDIF(UNIX)
+
+
+