]> Creatis software - crea.git/blob - AdditionalcreaConfig.cmake.in
re indent
[crea.git] / AdditionalcreaConfig.cmake.in
1 #-----------------------------------------------------------------------------
2 ADD_DEFINITIONS(-DCREA_BUILD_SHARED)
3 SET(CREA_BUILT_WITH_WX @CREA_BUILT_WITH_WX@)
4 SET(CREA_BUILT_WITH_WX @CREA_BUILT_WITH_WX@)
5 SET(CREA_BUILT_WITH_VTK @CREA_BUILT_WITH_VTK@)
6 SET(CREA_CMAKE_REL_PATH @CREA_CMAKE_REL_PATH@)
7 SET(CREA_CMAKE_DIR ${crea_DIR}/${CREA_CMAKE_REL_PATH})
8 #-----------------------------------------------------------------------------
9 SET(CREA_COMPILE_MESSAGES @CREA_COMPILE_MESSAGES@)
10 SET(CREA_COMPILE_DEBUG_MESSAGES @CREA_COMPILE_DEBUG_MESSAGES@)
11 SET(CREA_COMPILE_WARNING_MESSAGES @CREA_COMPILE_WARNING_MESSAGES@)
12 SET(CREA_COMPILE_ERROR_MESSAGES @CREA_COMPILE_ERROR_MESSAGES@)
13 #-----------------------------------------------------------------------------
14
15 #-----------------------------------------------------------------------------
16 IF(CREA_VERBOSE_CMAKE)
17   MESSAGE(STATUS "* CREA_BUILT_WITH_WX            = ${CREA_BUILT_WITH_WX}")
18   MESSAGE(STATUS "* CREA_BUILT_WITH_VTK           = ${CREA_BUILT_WITH_VTK}")
19   MESSAGE(STATUS "* CREA_CMAKE_DIR                = ${CREA_CMAKE_DIR}")
20   MESSAGE(STATUS "* CREA_COMPILE_MESSAGES         = ${CREA_COMPILE_MESSAGES}")
21   MESSAGE(STATUS "* CREA_COMPILE_WARNING_MESSAGES = ${CREA_COMPILE_WARNING_MESSAGES}")
22   MESSAGE(STATUS "* CREA_COMPILE_ERROR_MESSAGES   = ${CREA_COMPILE_ERROR_MESSAGES}")
23   MESSAGE(STATUS "* CREA_COMPILE_DEBUG_MESSAGES   = ${CREA_COMPILE_DEBUG_MESSAGES}")
24 ENDIF(CREA_VERBOSE_CMAKE)
25 #-----------------------------------------------------------------------------
26
27 # If crea was compiled with WxWidget or vtk then have to find them
28 #IF(CREA_BUILT_WITH_WX OR CREA_BUILT_WITH_VTK)
29 #  INCLUDE(${CREA_CMAKE_DIR}/CREAMacro_Define.cmake)
30 #ENDIF(CREA_BUILT_WITH_WX OR CREA_BUILT_WITH_VTK)
31 #IF(CREA_BUILT_WITH_WX)
32 #  IF(NOT wxWidgets_FOUND)
33 #    MESSAGE(STATUS "=======================================")
34 #    MESSAGE(STATUS "crea was built with wxWidgets: have to find it...")
35 #    INCLUDE(${CREA_CMAKE_DIR}/CREAMacro_FindAndUseWxWidgets.cmake)
36 #    CREA_FIND_AND_USE_WXWIDGETS()
37 #  ENDIF(NOT wxWidgets_FOUND)
38 #ENDIF(CREA_BUILT_WITH_WX)
39 #IF(CREA_BUILT_WITH_VTK)
40 #  IF (NOT VTK_FOUND)
41 #    MESSAGE(STATUS "=======================================")
42 #    MESSAGE(STATUS "crea was built with VTK: have to find it...")
43 #    INCLUDE(${CREA_CMAKE_DIR}/CREAMacro_FindAndUseVTK.cmake)
44 #    CREA_FIND_AND_USE_VTK()
45 #  ENDIF (NOT VTK_FOUND)
46 #ENDIF(CREA_BUILT_WITH_VTK)
47
48