KWHelloWorldExample-alex.cxx CMakeLists.txt: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<nowiki> | <pre><nowiki>FIND_PACKAGE(ITK) | ||
FIND_PACKAGE(ITK) | |||
IF(ITK_FOUND) | IF(ITK_FOUND) | ||
INCLUDE(${USE_ITK_FILE}) | INCLUDE(${USE_ITK_FILE}) | ||
Line 18: | Line 17: | ||
TARGET_LINK_LIBRARIES (Test ITKBasicFilters ITKCommon ITKIO KWWidgets | TARGET_LINK_LIBRARIES (Test ITKBasicFilters ITKCommon ITKIO KWWidgets | ||
vtkRendering vtkVolumeRendering vtkWidgets vtkCommon vtkImaging vtkGraphics )</nowiki> | vtkRendering vtkVolumeRendering vtkWidgets vtkCommon vtkImaging vtkGraphics )</nowiki></pre> |
Revision as of 16:05, 20 March 2006
FIND_PACKAGE(ITK) IF(ITK_FOUND) INCLUDE(${USE_ITK_FILE}) ENDIF(ITK_FOUND) FIND_PACKAGE(VTK) IF(VTK_FOUND) INCLUDE(${USE_VTK_FILE}) ENDIF(VTK_FOUND) FIND_PACKAGE(KWWidgets) INCLUDE(${KWWidgets_USE_FILE}) INCLUDE_DIRECTORIES(/home/alex/kwtest) ADD_EXECUTABLE(Test KWHelloWorldExample-alex.cxx) TARGET_LINK_LIBRARIES (Test ITKBasicFilters ITKCommon ITKIO KWWidgets vtkRendering vtkVolumeRendering vtkWidgets vtkCommon vtkImaging vtkGraphics )