]> Creatis software - creaContours.git/blob - appli/wxContourGUIExample/CMakeLists.txt
Fixed the bug with the Ubuntu 64 latest version, by modifying the
[creaContours.git] / appli / wxContourGUIExample / CMakeLists.txt
1
2 IF(WIN32)
3   #MESSAGE("WIN32")
4   ADD_EXECUTABLE(creaContourApp WIN32 wxContourGUIExample.cxx)  
5   SET_TARGET_PROPERTIES(creaContourApp PROPERTIES LINK_FLAGS /subsystem:console )
6 ELSE(WIN32)
7   ADD_EXECUTABLE(creaContourApp MACOSX_BUNDLE wxContourGUIExample)
8 ENDIF(WIN32)
9
10 INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
11 INCLUDE_DIRECTORIES(${creaImageIO2_INCLUDE_DIRS})
12
13
14 TARGET_LINK_LIBRARIES( creaContourApp
15 #                      ${WXWIDGETS_LIBRARIES}
16                        ${VTK_LIBRARIES}
17
18                        ${creaEnvironment_LIBRARIES}
19                        ${creaImageIO_LIBRARIES}
20                        Interface_Icons_NDimensions_lib
21                        Interface_ManagerContour_NDimensions_lib
22                        ${BOOST_LIBRARIES}
23
24                        ${ITK_LIBRARIES}
25                        ${creaMaracasVisu_LIBRARIES}
26                        kernel_ManagerContour_NDimensions_lib
27                      )
28
29 INSTALL_TARGETS(/bin/ creaContourApp )