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}
+
+#EED 31/05/2011 ${ITK_LIBRARIES}
+ ITKCommon
+ ITKIO
+ ITKBasicFilters
+ ITKAlgorithms
+
+ ${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 )