IF(WIN32) #MESSAGE("WIN32") ADD_EXECUTABLE(wxContourGUIExample WIN32 wxContourGUIExample.cxx) SET_TARGET_PROPERTIES(wxContourGUIExample PROPERTIES LINK_FLAGS /subsystem:console ) ELSE(WIN32) ADD_EXECUTABLE(wxContourGUIExample wxContourGUIExample) ENDIF(WIN32) TARGET_LINK_LIBRARIES( wxContourGUIExample Interface_Icons_NDimensions_lib Interface_ManagerContour_NDimensions_lib kernel_ManagerContour_NDimensions_lib # ${WXWIDGETS_LIBRARIES} ${VTK_LIBRARIES} ${creaEnvironment_LIBRARIES} ${creaImageIO_LIBRARIES} ${creaMaracasVisu_LIBRARIES} # HORRROOOOR !!! # creaImageIO # CreaEnvironment # maracasVisuLib # vtkImaging vtkGraphics vtkRendering vtkFiltering vtkCommon ) INSTALL_TARGETS(/bin/ wxContourGUIExample )