]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/CMakeLists.txt
Works with Visual Studio 2009
[creaContours.git] / appli / wxContourGUIExample / CMakeLists.txt
index a4d4ac4356c1474b386a179b2ed2f715570d4c75..6ba1b9845608959a434e092e3c23b3f006a76666 100644 (file)
@@ -4,27 +4,23 @@ IF(WIN32)
   ADD_EXECUTABLE(wxContourGUIExample WIN32 wxContourGUIExample.cxx)  
   SET_TARGET_PROPERTIES(wxContourGUIExample PROPERTIES LINK_FLAGS /subsystem:console )
 ELSE(WIN32)
-  ADD_EXECUTABLE(wxContourGUIExample wxContourGUIExample)
+  ADD_EXECUTABLE(wxContourGUIExample MACOSX_BUNDLE wxContourGUIExample)
 ENDIF(WIN32)
 
+INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
+INCLUDE_DIRECTORIES(${creaImageIO2_INCLUDE_DIRS})
 
 TARGET_LINK_LIBRARIES( wxContourGUIExample
-
-                       Interface_Icons_NDimensions_lib
-                       Interface_ManagerContour_NDimensions_lib
-                       kernel_ManagerContour_NDimensions_lib
-
 #                     ${WXWIDGETS_LIBRARIES}
                       ${VTK_LIBRARIES}
+                      ${ITK_LIBRARIES}
                       ${creaEnvironment_LIBRARIES}
-                      ${creaImageIO_LIBRARIES}
                       ${creaMaracasVisu_LIBRARIES}
+                      ${creaImageIO2_LIBRARIES}
+                       Interface_Icons_NDimensions_lib
+                       Interface_ManagerContour_NDimensions_lib
+                       kernel_ManagerContour_NDimensions_lib
 
-# HORRROOOOR !!!
-#                       creaImageIO    
-#                       CreaEnvironment
-#                       maracasVisuLib
-#                       vtkImaging  vtkGraphics vtkRendering vtkFiltering vtkCommon
                      )
 
 INSTALL_TARGETS(/bin/ wxContourGUIExample )