]> Creatis software - creaMaracasVisu.git/blob - bbtk/Configure.cmake
The bbtk folder with the maracasvisu bbtk package was added to the creaMaracasVisu...
[creaMaracasVisu.git] / bbtk / Configure.cmake
1
2 #EED 12/05/2008
3 ## BOOST 
4
5 ### EED  E:\Creatis\bbtk\kernel\src\CMakeLists.txt
6 ## -----------------------------------------------------------------------------
7 ## BOOST 
8 #SET(BBTK_USE_BOOST TRUE)
9
10 #IF(BBTK_USE_BOOST)
11 #  SET(USE_BOOST ON CACHE BOOL "Use boost C++ library" FORCE)
12 #  SET(BBTK_LINK_LIBRARIES
13 #    ${BBTK_LINK_LIBRARIES}
14 #    ${BBTK_BOOST_LIBRARIES} 
15 #    ) 
16 #ENDIF(BBTK_USE_BOOST)
17 ## -----------------------------------------------------------------------------
18
19 ## EED E:\Creatis\bbtk\kernel\cmake\BBTKDefineOptions.cmake
20 ## -----------------------------------------------------------------------------
21 ## BOOST C++
22 #SET(BBTK_SHIPPED_BOOST boost_1_35_0 CACHE INTERNAL "Shipped boost dir" FORCE)
23 #OPTION(BBTK_USE_SHIPPED_BOOST 
24 #  "Use the shipped boost C++ library (${BBTK_SHIPPED_BOOST})" ON)
25 ## -----------------------------------------------------------------------------
26
27
28 ## EED E:\Creatis\bbtk\kernel\cmake\BBTKDefineOptions.cmake
29 # INCLUDE_DIRECTORIES( ${BBTK_DIR}/include/bbtk/ThirdParty/${BBTK_SHIPPED_BOOST}/)
30 #message ("EED Maracas/bbtk/maracasvusu/Configure.cmake      " ${BBTK_DIR}/include/bbtk/ThirdParty/${BBTK_SHIPPED_BOOST}/)
31
32
33
34 #===========================================================================
35 # If the package is not a "core" bbtk package (included into the toolkit)
36 # then we have to find (and use) bbtk 
37 IF(NOT BBTK_CORE_PACKAGE)
38   #-------------------------------------------------------------------------
39   # Find and use the Black Box Toolkit
40   # Search BBTK
41   FIND_PACKAGE(BBTK)
42   # If bbtk found
43   IF(BBTK_FOUND)
44     INCLUDE(${BBTK_USE_FILE})
45     SET(BBTK_PACKAGE_LIBS 
46       ${BBTK_PACKAGE_LIBS}
47       ${BBTK_LIBRARIES})
48     MARK_AS_ADVANCED(BBTK_DIR)
49   ENDIF(BBTK_FOUND)
50   #-------------------------------------------------------------------------
51 ENDIF(NOT BBTK_CORE_PACKAGE)
52 #===========================================================================
53
54 #===========================================================================
55 # Include package configuration cmake script from bbtk dir
56 INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage.cmake)
57 #===========================================================================
58