#EED 12/05/2008 ## BOOST ### EED E:\Creatis\bbtk\kernel\src\CMakeLists.txt ## ----------------------------------------------------------------------------- ## BOOST #SET(BBTK_USE_BOOST TRUE) #IF(BBTK_USE_BOOST) # SET(USE_BOOST ON CACHE BOOL "Use boost C++ library" FORCE) # SET(BBTK_LINK_LIBRARIES # ${BBTK_LINK_LIBRARIES} # ${BBTK_BOOST_LIBRARIES} # ) #ENDIF(BBTK_USE_BOOST) ## ----------------------------------------------------------------------------- ## EED E:\Creatis\bbtk\kernel\cmake\BBTKDefineOptions.cmake ## ----------------------------------------------------------------------------- ## BOOST C++ #SET(BBTK_SHIPPED_BOOST boost_1_35_0 CACHE INTERNAL "Shipped boost dir" FORCE) #OPTION(BBTK_USE_SHIPPED_BOOST # "Use the shipped boost C++ library (${BBTK_SHIPPED_BOOST})" ON) ## ----------------------------------------------------------------------------- ## EED E:\Creatis\bbtk\kernel\cmake\BBTKDefineOptions.cmake # INCLUDE_DIRECTORIES( ${BBTK_DIR}/include/bbtk/ThirdParty/${BBTK_SHIPPED_BOOST}/) #message ("EED Maracas/bbtk/maracasvusu/Configure.cmake " ${BBTK_DIR}/include/bbtk/ThirdParty/${BBTK_SHIPPED_BOOST}/) #=========================================================================== # If the package is not a "core" bbtk package (included into the toolkit) # then we have to find (and use) bbtk IF(NOT BBTK_CORE_PACKAGE) #------------------------------------------------------------------------- # Find and use the Black Box Toolkit # Search BBTK FIND_PACKAGE(BBTK) # If bbtk found IF(BBTK_FOUND) INCLUDE(${BBTK_USE_FILE}) SET(BBTK_PACKAGE_LIBS ${BBTK_PACKAGE_LIBS} ${BBTK_LIBRARIES}) MARK_AS_ADVANCED(BBTK_DIR) ENDIF(BBTK_FOUND) #------------------------------------------------------------------------- ENDIF(NOT BBTK_CORE_PACKAGE) #=========================================================================== #=========================================================================== # Include package configuration cmake script from bbtk dir INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage.cmake) #===========================================================================