Test.cxx CMakeLists.txt: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Hit edit to see the source:: | |||
FIND_PACKAGE(ITK) | <pre><nowiki>FIND_PACKAGE(ITK) | ||
IF(ITK_FOUND) | IF(ITK_FOUND) | ||
INCLUDE(${USE_ITK_FILE}) | INCLUDE(${USE_ITK_FILE}) | ||
Line 17: | Line 17: | ||
TARGET_LINK_LIBRARIES (Test ITKBasicFilters ITKCommon ITKIO | TARGET_LINK_LIBRARIES (Test ITKBasicFilters ITKCommon ITKIO | ||
vtkRendering vtkVolumeRendering vtkWidgets vtkCommon vtkImaging vtkGraphics ) | vtkRendering vtkVolumeRendering vtkWidgets vtkCommon vtkImaging vtkGraphics ) | ||
</nowiki> | </nowiki></pre> |
Revision as of 16:03, 20 March 2006
Hit edit to see the source::
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) INCLUDE_DIRECTORIES(/home/alex/itk+vtk_cone) ADD_EXECUTABLE(Test test.cxx) TARGET_LINK_LIBRARIES (Test ITKBasicFilters ITKCommon ITKIO vtkRendering vtkVolumeRendering vtkWidgets vtkCommon vtkImaging vtkGraphics )