]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/CMakeLists.txt
*** empty log message ***
[creaContours.git] / appli / wxContourGUIExample / CMakeLists.txt
index b466d6146169c4bd124abd710a0c36a6bfa3b3a3..234dc1143599aec62501f4a4e3e82b2abb69aeef 100644 (file)
@@ -1,30 +1,28 @@
 
 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}
+                      ${creaImageIO_LIBRARIES}
                        Interface_Icons_NDimensions_lib
                        Interface_ManagerContour_NDimensions_lib
                        kernel_ManagerContour_NDimensions_lib
-
-                      ${WXWIDGETS_LIBRARIES}
-                      ${VTK_LIBRARIES}
-                      ${CreaEnvironment_LIBRARIES}
-                      ${creaImageIO_LIBRARIES}
-                      ${maracasVisuLib_LIBRARIES}
-
-# HORRROOOOR !!!
-#                       creaImageIO    
-#                       CreaEnvironment
-#                       maracasVisuLib
-#                       vtkImaging  vtkGraphics vtkRendering vtkFiltering vtkCommon
+                      ${BOOST_LIBRARIES}
                      )
 
-INSTALL_TARGETS(/bin/ wxContourGUIExample )
+INSTALL_TARGETS(/bin/ creaContourApp )