1 CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
3 ## ========================
4 ## == Project definition ==
5 ## ========================
7 SET(prj_NAME cpPlugins)
10 SET(prj_REL_VERSION 0)
11 SET(_policies CMP0015 CMP0020 CMP0042)
18 ## ==========================
19 ## == Some useful policies ==
20 ## ==========================
22 FOREACH(_p ${_policies})
24 CMAKE_POLICY(SET ${_p} NEW)
28 ## ===========================
29 ## == Project configuration ==
30 ## ===========================
33 SET(prj_VERSION"${prj_MAJ_VERSION}.${prj_MIN_VERSION}.${prj_REL_VERSION}")
34 SET(prj_SHORT_VERSION "${prj_MAJ_VERSION}")
36 ## =====================================
37 ## == Functions, packages and options ==
38 ## =====================================
40 INCLUDE(cmake/BaseConfig.cmake)
41 INCLUDE(cmake/Options.cmake)
42 INCLUDE(cmake/QtTools.cmake)
43 #INCLUDE(cmake/KitwareTools.cmake)
44 INCLUDE(cmake/Functions.cmake)
46 ## ===========================
47 ## == Build different parts ==
48 ## ===========================
50 FOREACH(_s ${_subdirs})