]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/CMakeLists.txt
*** empty log message ***
[creaContours.git] / appli / wxContourGUIExample / CMakeLists.txt
index ef609de6b144dcd6eb7bd5d5cd526465c18c1a4f..234dc1143599aec62501f4a4e3e82b2abb69aeef 100644 (file)
@@ -1,17 +1,20 @@
 
 IF(WIN32)
   #MESSAGE("WIN32")
-  ADD_EXECUTABLE(wxContourGUIExample WIN32 wxContourGUIExample.cxx)  
-  SET_TARGET_PROPERTIES(wxContourGUIExample PROPERTIES LINK_FLAGS /subsystem:console )
+  ADD_EXECUTABLE(creaContourApp WIN32 wxContourGUIExample.cxx)  
+  SET_TARGET_PROPERTIES(creaContourApp PROPERTIES LINK_FLAGS /subsystem:console )
 ELSE(WIN32)
-  ADD_EXECUTABLE(wxContourGUIExample wxContourGUIExample)
+  ADD_EXECUTABLE(creaContourApp MACOSX_BUNDLE wxContourGUIExample)
 ENDIF(WIN32)
 
+INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
+INCLUDE_DIRECTORIES(${creaImageIO2_INCLUDE_DIRS})
 
-TARGET_LINK_LIBRARIES( wxContourGUIExample
 
+TARGET_LINK_LIBRARIES( creaContourApp
 #                     ${WXWIDGETS_LIBRARIES}
                       ${VTK_LIBRARIES}
+
                       ${ITK_LIBRARIES}
                       ${creaEnvironment_LIBRARIES}
                       ${creaMaracasVisu_LIBRARIES}
@@ -19,6 +22,7 @@ TARGET_LINK_LIBRARIES( wxContourGUIExample
                        Interface_Icons_NDimensions_lib
                        Interface_ManagerContour_NDimensions_lib
                        kernel_ManagerContour_NDimensions_lib
+                      ${BOOST_LIBRARIES}
                      )
 
-INSTALL_TARGETS(/bin/ wxContourGUIExample )
+INSTALL_TARGETS(/bin/ creaContourApp )