1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
3 #===========================================================================
4 # CMAKE SETTINGS FOR BUILDING A BBTK PACKAGE
5 #===========================================================================
7 #===========================================================================
8 # THE NAME OF THE BBTK PACKAGE
9 SET(BBTK_PACKAGE_NAME PackRecalage)
10 #===========================================================================
14 #===========================================================================
15 # IF IT IS A STANDALONE PROJECT UNCOMMENT NEXT LINE TO DECLARE YOUR PROJECT
16 # PROJECT(bb${BBTK_PACKAGE_NAME})
17 #===========================================================================
19 #===========================================================================
21 # !!! NO COMMA ALLOWED !!!
22 SET(${BBTK_PACKAGE_NAME}_AUTHOR "jn.trillos44@uniandes.edu.co")
23 #===========================================================================
25 #===========================================================================
27 SET(${BBTK_PACKAGE_NAME}_DESCRIPTION "Interactive Recalage")
28 #===========================================================================
30 #===========================================================================
31 # PACKAGE VERSION NUMBER
32 SET(${BBTK_PACKAGE_NAME}_MAJOR_VERSION 1)
33 SET(${BBTK_PACKAGE_NAME}_MINOR_VERSION 0)
34 SET(${BBTK_PACKAGE_NAME}_BUILD_VERSION 0)
35 #===========================================================================
38 #===========================================================================
39 # UNCOMMENT EACH LIBRARY NEEDED (WILL BE FOUND AND USED AUTOMATICALLY)
40 SET(${BBTK_PACKAGE_NAME}_USE_VTK ON)
41 # SET(${BBTK_PACKAGE_NAME}_USE_ITK ON)
42 # SET(${BBTK_PACKAGE_NAME}_USE_GDCM ON)
43 # SET(${BBTK_PACKAGE_NAME}_USE_GDCM_VTK ON)
44 # SET(${BBTK_PACKAGE_NAME}_USE_GSMIS ON)
45 SET(${BBTK_PACKAGE_NAME}_USE_WXWIDGETS ON)
46 # SET(${BBTK_PACKAGE_NAME}_USE_KWWIDGETS ON)
47 #===========================================================================
49 #===========================================================================
50 # LIST HERE THE OTHER bbtk PACKAGES NEEDED
51 # (WILL BE FOUND AND USED AUTOMATICALLY)
52 SET(${BBTK_PACKAGE_NAME}_USE_PACKAGES
59 #===========================================================================
61 #===========================================================================
62 # THE SOURCES OF THE PACKAGE
63 # EITHER UNCOMMENT NEXT LINE TO COMPILE ALL .cxx OF THE src DIRECTORY :
64 SET(${BBTK_PACKAGE_NAME}_COMPILE_ALL_CXX ON)
65 # ... OR LIST THE FILES TO COMPILE MANUALLY :
66 #SET(${BBTK_PACKAGE_NAME}_SOURCES
67 # LIST HERE THE FILES TO COMPILE TO BUILD THE LIB
68 # E.G. TO COMPILE "toto.cxx" ADD "toto" (NO EXTENSION)
69 # THE PATH MUST BE RELATIVE TO THE src FOLDER
71 #===========================================================================
73 #===========================================================================
74 # THE xml SOURCES OF THE PACKAGE
75 # EITHER UNCOMMENT NEXT LINE TO bbfy ALL .xml OF THE src DIRECTORY :
76 SET(${BBTK_PACKAGE_NAME}_COMPILE_ALL_XML ON)
77 # ... OR LIST THE FILES TO COMPILE MANUALLY :
78 #SET(${BBTK_PACKAGE_NAME}_XML_SOURCES
79 # LIST HERE THE FILES TO bbfy TO BUILD THE LIB
80 # E.G. TO bbfy "toto.xml" ADD "toto" (NO EXTENSION)
81 # THE PATH MUST BE RELATIVE TO THE src FOLDER
83 #===========================================================================
85 #===========================================================================
86 # THE SCRIPT-DEFINED BOXES OF THE PACKAGE (bbs)
87 # EITHER UNCOMMENT NEXT LINE TO INCLUDE ALL .bbs OF THE bbs/boxes DIRECTORY :
88 SET(${BBTK_PACKAGE_NAME}_INCLUDE_ALL_BBS_BOXES ON)
89 # ... OR LIST THE FILES TO INCLUDE MANUALLY :
90 # SET(${BBTK_PACKAGE_NAME}_BBS_BOXES
91 # LIST HERE THE bbs FILES TO INCLUDE
92 # E.G. TO INCLUDE "boxes/bbtoto.bbs" ADD "boxes/bbtoto" (NO EXTENSION)
93 # !! THE PATH MUST BE RELATIVE TO THE bbs FOLDER !!
95 #===========================================================================
97 #===========================================================================
98 # THE SCRIPT-DEFINED APPLICATIONS OF THE PACKAGE (bbs)
99 # EITHER UNCOMMENT NEXT LINE TO INCLUDE ALL .bbs OF THE bbs/appli DIRECTORY :
100 SET(${BBTK_PACKAGE_NAME}_INCLUDE_ALL_BBS_APPLI ON)
101 # ... OR LIST THE FILES TO INCLUDE MANUALLY :
102 # SET(${BBTK_PACKAGE_NAME}_BBS_APPLI
103 # LIST HERE THE bbs FILES TO INCLUDE
104 # E.G. TO INCLUDE "appli/testToto.bbs" ADD "appli/testToto" (NO EXTENSION)
105 # !! THE PATH MUST BE RELATIVE TO THE bbs FOLDER !!
107 #===========================================================================
109 #===========================================================================
110 SET(${BBTK_PACKAGE_NAME}_INCLUDE_DIRS
111 # LIST HERE YOUR ADDITIONAL INCLUDE DIRECTORIES
115 # - automatically handled libraries or packages : wx, vtk... (see above)
116 # - the dirs automatically set by other libraries found by FIND_PACKAGE
119 #===========================================================================
121 #===========================================================================
122 SET(${BBTK_PACKAGE_NAME}_LIBS
123 # LIST HERE THE ADDITIONAL LIBS TO LINK AGAINST
124 # EXCEPT : the same libs than for INCLUDE_DIRS
127 #===========================================================================
130 #===========================================================================
131 # IF NEEDED : UNCOMMENT NEXT LINE
132 # AND LIST ADDITIONNAL DIRECTORIES
133 # IN WHICH TO LOOK FOR LIBRARIES TO LINK AGAINST
135 #===========================================================================
137 #===========================================================================
138 # SET TO TRUE TO HAVE INFORMATION ON LIBRARIES FOUND DURING CMAKE CONFIGURE
139 SET(FIND_PACKAGE_VERBOSE TRUE)
140 #===========================================================================
142 #===========================================================================
143 # END OF USER SECTION
144 #===========================================================================
150 #===========================================================================
151 # Include configuration script
152 INCLUDE(Configure.cmake)
153 #===========================================================================
155 #===========================================================================
157 #===========================================================================