[Insight-users] Using insight applications
Prename Surname
bsd.diverse at gmail.com
Thu Sep 28 12:11:09 EDT 2006
I managed to build the insightapplications, and i want to be able to use
them just as easy as i can use the VTK and ITK. But i cannot seem to figure
out how to make the CMakeLists.txt so that i can also include the whole
Insightapplications, like it is done with ITK and VTK.
My CMakeLists.txt looks like this now
PROJECT(Hello)
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(
${Hello_SOURCE_DIR}
)
ADD_EXECUTABLE(Hello main.cxx)
TARGET_LINK_LIBRARIES (Hello
ITKBasicFilters ITKCommon ITKIO
vtkRendering vtkGraphics vtkHybrid
vtkImaging vtkIO vtkFiltering vtkCommon
)
So i think somehow i need to make a INSIGHT package as well like ITK and
VTK. But how is this done?
FIND_PACKAGE(INSIGHT)
IF (INSIGHT_FOUND)
INCLUDE(${USE_INSIGHT_FILE})
ENDIF(INSIGHT_FOUND)
Does not work...
Many regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060928/a75bcca0/attachment.htm
More information about the Insight-users
mailing list