1 # ---------------------------------
3 # Unless you are an experimented cmake user,
5 # http://www.creatis.insa-lyon.fr/creatools/GettingStarted_creaTools
8 # ---------------------------------
10 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
12 ###################################
14 ###################################
16 #==================================
18 SET(PROJECT_MAJOR_VERSION 1)
19 SET(PROJECT_MINOR_VERSION 0)
20 SET(PROJECT_BUILD_VERSION 0)
21 #==================================
23 #==================================
24 # Find crea (mandatory, to use macros)
25 SET(CREA_VERBOSE_CMAKE TRUE)
26 FIND_PACKAGE(crea REQUIRED)
28 INCLUDE(${crea_USE_FILE})
30 #==================================
32 #==================================
33 # Do not allow to build inside the source tree
34 CREA_PREVENT_IN_SOURCE_BUILD()
35 #==================================
37 #==================================
38 # Libraries/tools used
40 # Note : Set USE_CREA to ON
41 # if you need to LINK against crea
42 # (and not only use its macros)
49 SET(USE_KWWIDGETS OFF)
54 # Note : Set USE_DOXYGEN to ON
55 # if you think you will ask, some day,
56 # for Doxygen generation
59 # Note : Set USE_LATEX to ON, USE_TTH to ON
60 # if you think you will ask, some day,
61 # for doc generation using your own latex documents
65 CREA_FIND_AND_USE_LIBRARIES()
66 #==================================
68 #==================================
69 # Where to put executables and libs
70 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
71 SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR})
73 CMAKE_BACKWARDS_COMPATIBILITY
74 EXECUTABLE_OUTPUT_PATH
78 #==================================
80 SET(LIBNAME $(CreaRecalage))
84 # // if the previous one is not enough : (JPRx)
85 # Add here the directories holding the .h you need
87 # ${PROJECT_SOURCE_DIR}/lib/_YOUR_OWN_LIBRARY_SOURCE_DIRECTORY_
90 #==================================
93 #----------------------------------------------------------------------------
94 INCLUDE(${PROJECT_SOURCE_DIR}/cmake/UserRootCMakeLists.cmake)
96 #==================================
97 # Where to generate documentation
98 # (desperate try; JPR)
100 SET(BBTK_DOC_BUILD_PATH
101 ${PROJECT_BINARY_DIR}/doc
103 #==================================
109 SUBDIRS(PackRecalage)
110 #==================================
111 #==================================