1 CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
3 ## ========================
4 ## == Project definition ==
5 ## ========================
7 SET(prj_NAME FrontAlgorithms)
8 SET(prj_MAJOR_VERSION 1)
9 SET(prj_MINOR_VERSION 0)
10 SET(prj_RELEASE_VERSION 0)
11 SET(_subdirs examples) # lib plugins)
12 SET(_policies CMP0015 CMP0020 CMP0042)
14 ## ==========================
15 ## == Some useful policies ==
16 ## ==========================
18 FOREACH(_p ${_policies})
20 CMAKE_POLICY(SET ${_p} NEW)
24 ## ===========================
25 ## == Project configuration ==
26 ## ===========================
29 SET(prj_VERSION "${prj_MAJOR_VERSION}.${prj_MINOR_VERSION}.${prj_RELEASE_VERSION}")
30 SET(prj_SHORT_VERSION "${prj_MAJOR_VERSION}")
32 ## =====================================
33 ## == Functions, packages and options ==
34 ## =====================================
36 INCLUDE(cmake/BaseConfig.cmake)
37 INCLUDE(cmake/KitwareTools.cmake)
38 #OPTION(USE_cpPlugins "Build cpPlugins-based code" OFF)
40 # FIND_PACKAGE(cpPlugins)
41 # MARK_AS_ADVANCED(CLEAR cpPlugins_DIR)
43 #INCLUDE(cmake/QtTools.cmake)
44 #INCLUDE(cmake/Functions.cmake)
46 ## ===========================
47 ## == Build different parts ==
48 ## ===========================
50 FOREACH(_s ${_subdirs})