FILE(TO_NATIVE_PATH ${bbCreateBlackBox_DATA_REL_PATH_FROM_BIN} bbCreateBlackBox_DATA_REL_PATH_FROM_BIN)
IF(WIN32)
# Build tree
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/bbCreateBlackBox.bat.in
+ ${BBTK_BINARY_DIR}/RelWithDebInfo/bbCreateBlackBox.bat
+ @ONLY IMMEDIATE
+ )
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/bbCreateBlackBox.bat.in
${BBTK_BINARY_DIR}/Debug/bbCreateBlackBox.bat
IF(WIN32)
# Build tree
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/bbCreatePackage.bat.in
+ ${BBTK_BINARY_DIR}/RelWithDebInfo/bbCreatePackage.bat
+ @ONLY IMMEDIATE
+ )
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/bbCreatePackage.bat.in
${BBTK_BINARY_DIR}/Debug/bbCreatePackage.bat
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+
#===========================================================================
# CMAKE SETTINGS FOR BUILDING A BBTK PACKAGE
#===========================================================================
IF(WIN32)
# Build tree
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/bbPostInstallPackage.bat.in
+ ${BBTK_BINARY_DIR}/RelWithDebInfo/bbPostInstallPackage.bat
+ @ONLY IMMEDIATE
+ )
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/bbPostInstallPackage.bat.in
${BBTK_BINARY_DIR}/Debug/bbPostInstallPackage.bat
# If bbtk was compiled with WxWidget then have to find it
-IF(BBTK_BUILT_WITH_WX)
- INCLUDE(${CREA_CMAKE_DIR}/CREAMacro_FindAndUseWxWidgets.cmake)
- CREA_FIND_WXWIDGETS()
-ENDIF(BBTK_BUILT_WITH_WX)
+#IF(BBTK_BUILT_WITH_WX)
+# INCLUDE(${CREA_CMAKE_DIR}/CREAMacro_FindAndUseWxWidgets.cmake)
+# CREA_FIND_WXWIDGETS()
+#ENDIF(BBTK_BUILT_WITH_WX)
# If bbtk was compiled with WxWidget then have to use it
-IF(BBTK_BUILT_WITH_WX)
- CREA_USE_WXWIDGETS()
-ENDIF(BBTK_BUILT_WITH_WX)
+#IF(BBTK_BUILT_WITH_WX)
+# CREA_USE_WXWIDGETS()
+#ENDIF(BBTK_BUILT_WITH_WX)
#-----------------------------------------------------------------------------
# USE SHIPPED BOOST ?
+IF(BBTK_CORE_PACKAGE)
+
IF(BBTK_USE_SHIPPED_BOOST)
MESSAGE ( STATUS "=======================================")
MESSAGE(STATUS "bbtk uses shipped boost C++ library (${BBTK_SHIPPED_BOOST})")
boost_signals
)
ENDIF(BBTK_USE_SHIPPED_BOOST)
+
+ENDIF(BBTK_CORE_PACKAGE)
#-----------------------------------------------------------------------------