#
# 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.
#
# ---------------------------------
#==================================
+# 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)
ENDIF(BBTK_FOUND)
#==================================
-
-
-
#==================================
# Do not allow to build inside the source tree
CREA_PREVENT_IN_SOURCE_BUILD()
# 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()
#==================================
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_
)
#==================================
-# Subdirs
-SUBDIRS(lib)
-SUBDIRS(appli)
-SUBDIRS(doc)
-SUBDIRS(data)
-SUBDIRS(install)
+# ADD_SUBDIRECTORY
+ADD_SUBDIRECTORY(lib)
+ADD_SUBDIRECTORY(appli)
+ADD_SUBDIRECTORY(doc)
+ADD_SUBDIRECTORY(data)
+ADD_SUBDIRECTORY(install)
#==================================