]> Creatis software - bbtkGEditor.git/blobdiff - CMakeLists.txt
Changes for saveAs button
[bbtkGEditor.git] / CMakeLists.txt
index 2f979a9c64a1642720c55fa251d65967e2e77e10..0dca9579d142fe6b4c7457cf9c31f1b86c421115 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Unless you are an experimented cmake user,
 # have a look at :
-# http://www.creatis.insa-lyon.fr/creatools/GettingStarted_creaTools
+# http://www.creatis.insa-lyon.fr/site/fr/CreatoosGettingStarted-v2.0.X
 # before starting.
 #
 # ---------------------------------
@@ -25,6 +25,9 @@ SET(PROJECT_VERSION_DATE "30/09/2009")
 
 #==================================
 
+# JPR 4 mars 2011
+set (CMAKE_MODULE_PATH ${CMAKE_INSTALL_PREFIX}/share/cmake/Module)
+
 #==================================
 # Find crea (mandatory, to use macros)
 SET(CREA_VERBOSE_CMAKE TRUE)
@@ -53,9 +56,6 @@ IF(BBTK_FOUND)
 ENDIF(BBTK_FOUND)
 #==================================
 
-
-
-
 #==================================
 # Do not allow to build inside the source tree
 CREA_PREVENT_IN_SOURCE_BUILD()
@@ -76,18 +76,18 @@ SET(USE_WXWIDGETS ON)
 SET(USE_KWWIDGETS OFF)
 SET(USE_VTK       ON)
 SET(USE_ITK       OFF)
-SET(USE_BOOST     OFF)
+SET(USE_BOOST     ON)
 
 # Note : Set USE_DOXYGEN to ON
 #  if you think you will ask, some day, 
 #  for Doxygen generation
-#SET(USE_DOXYGEN   OFF)
+#EED SET(USE_DOXYGEN   OFF)
 
 # Note : Set USE_LATEX to ON, USE_TTH to ON
 #  if you think you will ask, some day, 
 #  for doc generation using your own latex documents
-#SET(USE_LATEX     OFF)
-#SET(USE_TTH       OFF)
+#EED SET(USE_LATEX     OFF)
+#EED SET(USE_TTH       OFF)
 
 CREA_FIND_AND_USE_LIBRARIES()
 #==================================
@@ -108,8 +108,7 @@ MARK_AS_ADVANCED(
   INCLUDE_DIRECTORIES(
     ${PROJECT_BINARY_DIR}
 
- # // if the previous one is not enough :  (JPRx)
- #   Add here the directories holding the .h you need
+ # USER! : Add here the directories holding the .h you need  
     
  #   ${PROJECT_SOURCE_DIR}/lib/_YOUR_OWN_LIBRARY_SOURCE_DIRECTORY_
  
@@ -129,9 +128,10 @@ SET(BBTK_DOC_BUILD_PATH
    )
 #==================================
 
-# Subdirs
-SUBDIRS(lib)
-SUBDIRS(appli)
-SUBDIRS(doc)
-SUBDIRS(install)
+# ADD_SUBDIRECTORY
+ADD_SUBDIRECTORY(lib)
+ADD_SUBDIRECTORY(appli)
+ADD_SUBDIRECTORY(doc)
+ADD_SUBDIRECTORY(data)
+ADD_SUBDIRECTORY(install)
 #==================================