1 #===========================================================================
2 # CMAKE SETTINGS FOR BUILDING A BBTK PACKAGE
3 #===========================================================================
5 #===========================================================================
6 # THE NAME OF THE BBTK PACKAGE
7 SET(BBTK_PACKAGE_NAME creaContours)
8 #===========================================================================
12 #===========================================================================
13 # IF IT IS A STANDALONE PROJECT UNCOMMENT NEXT LINE TO DECLARE YOUR PROJECT
14 # PROJECT(bb${BBTK_PACKAGE_NAME})
15 #===========================================================================
17 #===========================================================================
19 # !!! NO COMMA ALLOWED !!!
20 SET(${BBTK_PACKAGE_NAME}_AUTHOR "InfoTeam CREATIS-LRMN")
21 #===========================================================================
23 #===========================================================================
25 SET(${BBTK_PACKAGE_NAME}_DESCRIPTION "This package contains the module ndimensions. LG : what is it ? Add an example !")
26 #===========================================================================
28 #===========================================================================
29 # PACKAGE VERSION NUMBER
30 SET(${BBTK_PACKAGE_NAME}_MAJOR_VERSION 1)
31 SET(${BBTK_PACKAGE_NAME}_MINOR_VERSION 0)
32 SET(${BBTK_PACKAGE_NAME}_BUILD_VERSION 0)
33 #===========================================================================
36 #===========================================================================
37 # UNCOMMENT EACH LIBRARY NEEDED (WILL BE FOUND AND USED AUTOMATICALLY)
38 SET(${BBTK_PACKAGE_NAME}_USE_VTK ON)
39 # SET(${BBTK_PACKAGE_NAME}_USE_ITK ON)
40 # SET(${BBTK_PACKAGE_NAME}_USE_GDCM ON)
41 # SET(${BBTK_PACKAGE_NAME}_USE_GSMIS ON)
42 SET(${BBTK_PACKAGE_NAME}_USE_WXWIDGETS ON)
43 #===========================================================================
45 #===========================================================================
46 # LIST HERE THE OTHER bbtk PACKAGES NEEDED
47 # (WILL BE FOUND AND USED AUTOMATICALLY)
48 SET(${BBTK_PACKAGE_NAME}_USE_PACKAGES
55 #===========================================================================
57 #===========================================================================
58 # THE SOURCES OF THE PACKAGE
59 # EITHER UNCOMMENT NEXT LINE TO COMPILE ALL .cxx OF THE src DIRECTORY :
60 SET(${BBTK_PACKAGE_NAME}_COMPILE_ALL_CXX ON)
61 # ... OR LIST THE FILES TO COMPILE MANUALLY :
62 #SET(${BBTK_PACKAGE_NAME}_SOURCES
63 # LIST HERE THE FILES TO COMPILE TO BUILD THE LIB
64 # E.G. TO COMPILE "toto.cxx" ADD "toto" (NO EXTENSION)
65 # THE PATH MUST BE RELATIVE TO THE src FOLDER
67 #===========================================================================
69 #===========================================================================
70 # THE xml SOURCES OF THE PACKAGE
71 # EITHER UNCOMMENT NEXT LINE TO bbfy ALL .xml OF THE src DIRECTORY :
72 SET(${BBTK_PACKAGE_NAME}_COMPILE_ALL_XML ON)
73 # ... OR LIST THE FILES TO COMPILE MANUALLY :
74 #SET(${BBTK_PACKAGE_NAME}_XML_SOURCES
75 # LIST HERE THE FILES TO bbfy TO BUILD THE LIB
76 # E.G. TO bbfy "toto.xml" ADD "toto" (NO EXTENSION)
77 # THE PATH MUST BE RELATIVE TO THE src FOLDER
79 #===========================================================================
81 #===========================================================================
82 # THE SCRIPT-DEFINED BOXES OF THE PACKAGE (bbs)
83 # EITHER UNCOMMENT NEXT LINE TO INCLUDE ALL .bbs OF THE bbs/boxes DIRECTORY :
84 SET(${BBTK_PACKAGE_NAME}_INCLUDE_ALL_BBS_BOXES ON)
85 # ... OR LIST THE FILES TO INCLUDE MANUALLY :
86 # SET(${BBTK_PACKAGE_NAME}_BBS_BOXES
87 # LIST HERE THE bbs FILES TO INCLUDE
88 # E.G. TO INCLUDE "boxes/bbtoto.bbs" ADD "boxes/bbtoto" (NO EXTENSION)
89 # !! THE PATH MUST BE RELATIVE TO THE bbs FOLDER !!
91 #===========================================================================
93 #===========================================================================
94 # THE SCRIPT-DEFINED APPLICATIONS OF THE PACKAGE (bbs)
95 # EITHER UNCOMMENT NEXT LINE TO INCLUDE ALL .bbs OF THE bbs/appli DIRECTORY :
96 SET(${BBTK_PACKAGE_NAME}_INCLUDE_ALL_BBS_APPLI ON)
97 # ... OR LIST THE FILES TO INCLUDE MANUALLY :
98 # SET(${BBTK_PACKAGE_NAME}_BBS_APPLI
99 # LIST HERE THE bbs FILES TO INCLUDE
100 # E.G. TO INCLUDE "appli/testToto.bbs" ADD "appli/testToto" (NO EXTENSION)
101 # !! THE PATH MUST BE RELATIVE TO THE bbs FOLDER !!
103 #===========================================================================
105 #===========================================================================
106 ## FIND_PATH(NewInterface NAME CMakeList.txt
108 ## D:/CreaContour/Desarrollo/ndimensionsInterfaz
109 ## DOC "New Interface path"
111 ## IF(NOT NewInterface)
112 ## MESSAGE(FATAL_ERROR "New Interface not found")
113 ## ENDIF(NOT NewInterface)
114 ## set (New_Interface ${NewInterface})
115 #===========================================================================
116 SET(${BBTK_PACKAGE_NAME}_INCLUDE_DIRS
117 # LIST HERE YOUR ADDITIONAL INCLUDE DIRECTORIES
121 # - automatically handled libraries or packages : wx, vtk... (see above)
122 # - the dirs automatically set by other libraries found by FIND_PACKAGE
125 ##SUBDIRS( ${New_Interface} )
126 #===========================================================================
128 #===========================================================================
129 SET(${BBTK_PACKAGE_NAME}_LIBS
130 # LIST HERE THE ADDITIONAL LIBS TO LINK AGAINST
131 # EXCEPT : the same libs than for INCLUDE_DIRS
132 Interface_ManagerContour_NDimensions_lib
133 Interface_Icons_NDimensions_lib
134 kernel_ManagerContour_NDimensions_lib
135 ${creaEnvironment_LIBRARIES}
136 ${creaMaracasVisu_LIBRARIES}
139 #===========================================================================
142 #===========================================================================
143 # IF NEEDED : UNCOMMENT NEXT LINE
144 # AND LIST ADDITIONNAL DIRECTORIES
145 # IN WHICH TO LOOK FOR LIBRARIES TO LINK AGAINST
146 #LINK_DIRECTORIES(../lib/Interface_ManagerContour_NDimensions)
147 #===========================================================================
149 #===========================================================================
150 # SET TO TRUE TO HAVE INFORMATION ON LIBRARIES FOUND DURING CMAKE CONFIGURE
151 SET(FIND_PACKAGE_VERBOSE TRUE)
152 #===========================================================================
154 #===========================================================================
155 # END OF USER SECTION
156 #===========================================================================
162 #===========================================================================
163 # Include configuration script
164 INCLUDE(Configure.cmake)
165 #===========================================================================
167 #===========================================================================
169 #===========================================================================