[Insight-users] Building OperatingRoom Insight Application
Joetta Anderson
joettaa at hotmail . com
Thu, 12 Jun 2003 17:00:28 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_5b11_7b71_77c5
Content-Type: text/plain; format=flowed
Hello,
In building of Insight Applications the OperatingRoom application did not
get built in the binaries. In attempting to use CMakeSetup of the
OperatingRoom application, an error message is generated as follows:
CMake Error: Error in cmake code at
C:/../InsightApplications-1.2.0/OperatingRoom/CMakeLists.txt:74:
FLTK_WRAP_UI called with FLTK_WRAP_UI undefined
I was able to successfully build Insight-1.2.0 and
InsightApplications-1.2.0(with use VTK and use FLTK). I am using VTK-4.2.2
and FLTK-1.1.4rc1. I am using a Windows 2000 operating system. All of the
builds were done in debug mode. I am able to run the Insight Applications
that have been built in the binaries. Any suggestions?
I am sending attachments of the CMakeLists.txt for Insight-1.2.0,
InsightApplications-1.2.0, and OperatingRoom.
Thanks for any suggestions you can give,
Joetta
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join . msn . com/?page=features/junkmail
------=_NextPart_000_5b11_7b71_77c5
Content-Type: text/plain; name="Insight-1.2.0-CMakeLists.txt"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="Insight-1.2.0-CMakeLists.txt"
# This is the root ITK CMakeLists file.
CMAKE_MINIMUM_REQUIRED(VERSION 1.6)
PROJECT(ITK)
INCLUDE_REGULAR_EXPRESSION("^(itk|vtk|vnl|vcl|f2c|ce).*$")
SOURCE_GROUP("XML Files" "[.]xml$")
# Don't build anything unless the version of CMake is high enough.
# The matching ELSE/ENDIF should be the last lines in the file.
IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.5)
#-----------------------------------------------------------------------------
# ITK version number. An even minor number corresponds to releases.
SET(ITK_VERSION_MAJOR "1")
SET(ITK_VERSION_MINOR "2")
SET(ITK_VERSION_PATCH "0")
# Version string should not include patch level. The major.minor is
# enough to distinguish available features of the toolkit.
SET(ITK_VERSION_STRING "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}")
#-----------------------------------------------------------------------------
# Load some macros.
INCLUDE(${ITK_SOURCE_DIR}/Utilities/itkThirdParty.cmake)
#-----------------------------------------------------------------------------
# Test for some required system information.
INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityC.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityCXX.cmake)
#-----------------------------------------------------------------------------
# Output directories.
SET (LIBRARY_OUTPUT_PATH ${ITK_BINARY_DIR}/bin CACHE PATH "Single output
directory for building all libraries.")
SET (EXECUTABLE_OUTPUT_PATH ${ITK_BINARY_DIR}/bin CACHE PATH "Single output
directory for building all executables.")
MARK_AS_ADVANCED(LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH)
SET(ITK_LIBRARY_PATH "${LIBRARY_OUTPUT_PATH}")
SET(ITK_EXECUTABLE_PATH "${EXECUTABLE_OUTPUT_PATH}")
SET(CXX_TEST_PATH ${EXECUTABLE_OUTPUT_PATH})
# Put "." in the rpath of all ITK shared libraries.
LINK_DIRECTORIES(.)
#-----------------------------------------------------------------------------
# ITK build configuration options.
IF(NOT WIN32)
OPTION(BUILD_SHARED_LIBS "Build ITK with shared libraries." OFF)
ENDIF(NOT WIN32)
OPTION(ITK_WRAP_TCL "Build Tcl wrapper support (requires CABLE/GCC-XML)."
OFF)
OPTION(BUILD_EXAMPLES "Build the Examples directory." ON)
OPTION(ITK_USE_SYSTEM_STDLIB
"Use the system's version of the standard C++ library (STL and
streams). If 'OFF', ITK will build against a supplied version of the
standard library from SGI. On SGI systems, this should be set to 'OFF'."
ON)
OPTION(VXL_FROM_UTILITIES "Use new vxl from utilities." OFF)
MARK_AS_ADVANCED(VXL_FROM_UTILITIES)
# Provide options to use system versions of third-party libraries.
ITK_THIRD_PARTY_OPTION(ZLIB zlib)
ITK_THIRD_PARTY_OPTION(PNG png)
IF(CMAKE_SYSTEM MATCHES "IRIX.*")
ELSE(CMAKE_SYSTEM MATCHES "IRIX.*")
MARK_AS_ADVANCED(ITK_USE_SYSTEM_STDLIB)
ENDIF(CMAKE_SYSTEM MATCHES "IRIX.*")
#-----------------------------------------------------------------------------
# Configure Dart testing support.
INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake)
MARK_AS_ADVANCED(TCL_TCLSH)
IF(BUILD_TESTING)
ENABLE_TESTING()
CONFIGURE_FILE(${ITK_SOURCE_DIR}/InsightLogo.gif
${ITK_BINARY_DIR}/Testing/HTML/TestingResults/Icons/Logo.gif
COPYONLY IMMEDIATE)
ENDIF(BUILD_TESTING)
#-----------------------------------------------------------------------------
# Dispatch the build into the proper subdirectories.
SUBDIRS(Utilities Code)
IF(ITK_WRAP_TCL)
SUBDIRS(Wrapping)
ENDIF(ITK_WRAP_TCL)
IF (BUILD_TESTING)
SUBDIRS(Testing)
ENDIF (BUILD_TESTING)
IF(BUILD_EXAMPLES)
SUBDIRS(Examples)
ENDIF(BUILD_EXAMPLES)
#-----------------------------------------------------------------------------
# ITK requires special compiler flags on some platforms.
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS}
-ftemplate-depth-50")
IF(APPLE)
SET(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS} -Wno-long-double")
ENDIF(APPLE)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
# Force the use of ansi cxx flags (i.e. -LANG:std on sgi )
IF("x${CMAKE_ANSI_CXXFLAGS}" MATCHES "^x.*[^ ]")
SET(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS}
${CMAKE_ANSI_CXXFLAGS}")
ENDIF("x${CMAKE_ANSI_CXXFLAGS}" MATCHES "^x.*[^ ]")
IF("x${CMAKE_ANSI_CFLAGS}" MATCHES "^x.*[^ ]")
SET(ITK_REQUIRED_C_FLAGS "${ITK_REQUIRED_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
ENDIF("x${CMAKE_ANSI_CFLAGS}" MATCHES "^x.*[^ ]")
IF("x${CMAKE_TEMPLATE_FLAGS}" MATCHES "^x.*[^ ]")
SET(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS}
${CMAKE_TEMPLATE_FLAGS}")
ENDIF("x${CMAKE_TEMPLATE_FLAGS}" MATCHES "^x.*[^ ]")
IF(CMAKE_USE_PTHREADS)
SET(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS} -D_PTHREADS")
ENDIF(CMAKE_USE_PTHREADS)
IF(WIN32)
SET(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS} -DNOMINMAX")
ENDIF(WIN32)
IF(NOT ITK_USE_SYSTEM_STDLIB)
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(ITK_REQUIRED_CXX_FLAGS "${ITK_REQUIRED_CXX_FLAGS}
-D__STL_USE_NEW_IOSTREAMS")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
ENDIF(NOT ITK_USE_SYSTEM_STDLIB)
#-----------------------------------------------------------------------------
# Configure the default ITK_DATA_ROOT for the location of ITK Data.
FIND_PATH(ITK_DATA_ROOT ITKData.readme ${ITK_SOURCE_DIR}/Testing/Data
$ENV{ITK_DATA_ROOT})
#-----------------------------------------------------------------------------
# Configure Tcl support.
IF(ITK_WRAP_TCL)
INCLUDE(${CMAKE_ROOT}/Modules/FindTCL.cmake)
# Hide useless settings provided by FindTCL.
FOREACH(entry TCL_LIBRARY_DEBUG
TK_LIBRARY_DEBUG
TCL_STUB_LIBRARY
TCL_STUB_LIBRARY_DEBUG
TK_STUB_LIBRARY
TK_STUB_LIBRARY_DEBUG
TK_WISH)
SET(${entry} "${${entry}}" CACHE INTERNAL "This value is not used by
ITK.")
ENDFOREACH(entry)
ENDIF(ITK_WRAP_TCL)
#-----------------------------------------------------------------------------
# Configure files with settings for use by the build.
CONFIGURE_FILE(${ITK_SOURCE_DIR}/itkConfigure.h.in
${ITK_BINARY_DIR}/itkConfigure.h)
CONFIGURE_FILE(${ITK_SOURCE_DIR}/Utilities/Doxygen/doxygen.config.in
${ITK_BINARY_DIR}/doxygen.config)
CONFIGURE_FILE(${ITK_SOURCE_DIR}/Utilities/Doxygen/itkdoxygen.pl.in
${ITK_BINARY_DIR}/itkdoxygen.pl)
#-----------------------------------------------------------------------------
# The entire ITK tree should use the same include path, except for the
# Wrapping directory.
# Create the list of include directories needed for ITK header files.
INCLUDE(${ITK_SOURCE_DIR}/itkIncludeDirectories.cmake)
# This should be the only INCLUDE_DIRECTORIES command in the entire
# tree, except for the Utilities and Wrapping directories. We need to
# do this in one place to make sure the order is correct.
INCLUDE_DIRECTORIES(
${ITK_INCLUDE_DIRS_BUILD_TREE}
${ITK_INCLUDE_DIRS_SOURCE_TREE}
${ITK_INCLUDE_DIRS_BUILD_TREE_CXX}
${ITK_INCLUDE_DIRS_SYSTEM}
)
#-----------------------------------------------------------------------------
# Setup third-party components.
# Make directories in the binary tree.
MAKE_DIRECTORY(${ITK_BINARY_DIR}/Code/Numerics/vxl/vcl)
MAKE_DIRECTORY(${ITK_BINARY_DIR}/Documentation/Doxygen)
# Run VXL configure scripts.
IF(RUN_CONFIGURE)
IF(NOT VXL_FROM_UTILITIES)
IF(UNIX)
EXEC_PROGRAM(${ITK_SOURCE_DIR}/Code/Numerics/vxl/configure
${ITK_BINARY_DIR}/Code/Numerics/vxl)
EXEC_PROGRAM(${ITK_SOURCE_DIR}/Code/Numerics/vxl/vcl/configure
${ITK_BINARY_DIR}/Code/Numerics/vxl/vcl)
ENDIF(UNIX)
ENDIF(NOT VXL_FROM_UTILITIES)
ENDIF(RUN_CONFIGURE)
# For win32 vc60, just copy files with predefined configurations.
IF(NOT UNIX)
IF(NOT VXL_FROM_UTILITIES)
IF(WIN32)
CONFIGURE_FILE(
${ITK_SOURCE_DIR}/Code/Numerics/vxl/vcl/config.win32-vc60/vxl_config.h
${ITK_BINARY_DIR}/Code/Numerics/vxl/vxl_config.h COPYONLY)
CONFIGURE_FILE(
${ITK_SOURCE_DIR}/Code/Numerics/vxl/vcl/config.win32-vc60/vcl_config_compiler.h
${ITK_BINARY_DIR}/Code/Numerics/vxl/vcl/vcl_config_compiler.h
COPYONLY)
CONFIGURE_FILE(
${ITK_SOURCE_DIR}/Code/Numerics/vxl/vcl/config.win32-vc60/vcl_config_headers.h
${ITK_BINARY_DIR}/Code/Numerics/vxl/vcl/vcl_config_headers.h
COPYONLY)
CONFIGURE_FILE(
${ITK_SOURCE_DIR}/Code/Numerics/vxl/vcl/config.win32-vc60/vcl_config_manual.h
${ITK_BINARY_DIR}/Code/Numerics/vxl/vcl/vcl_config_manual.h
COPYONLY)
ENDIF(WIN32)
ENDIF(NOT VXL_FROM_UTILITIES)
ENDIF(NOT UNIX)
#-----------------------------------------------------------------------------
# Help other projects use ITK.
# Copy the UseITK.cmake file to the binary tree for backward compatability.
CONFIGURE_FILE(${ITK_SOURCE_DIR}/UseITK.cmake.in
${ITK_BINARY_DIR}/UseITK.cmake COPYONLY IMMEDIATE)
# Save the compiler settings so another project can import them.
INCLUDE(${CMAKE_ROOT}/Modules/CMakeExportBuildSettings.cmake)
CMAKE_EXPORT_BUILD_SETTINGS(${ITK_BINARY_DIR}/ITKBuildSettings.cmake)
INSTALL_FILES(/lib/InsightToolkit .cmake ITKBuildSettings)
# Save library dependencies.
EXPORT_LIBRARY_DEPENDENCIES(${ITK_BINARY_DIR}/ITKLibraryDepends.cmake)
# Create the ITKConfig.cmake file containing the ITK configuration.
INCLUDE (${ITK_SOURCE_DIR}/itkGenerateITKConfig.cmake)
# Install some files.
INSTALL_FILES(/include/InsightToolkit .h itkConfigure)
INSTALL_FILES(/lib/InsightToolkit .cmake UseITK ITKLibraryDepends)
#-----------------------------------------------------------------------------
# Add compiler flags ITK needs to work on this platform. This must be
# done AFTER the call to CMAKE_EXPORT_BUILD_SETTINGS.
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ITK_REQUIRED_C_FLAGS}")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ITK_REQUIRED_CXX_FLAGS}")
# If the version of CMake was too old, complain and build nothing.
# These should be the last lines in this file.
ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.5)
MESSAGE(SEND_ERROR
"This version of CMake is too old to build ITK. "
"Please upgrade to CMake 1.6.")
ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.5)
------=_NextPart_000_5b11_7b71_77c5
Content-Type: text/plain; name="InsightApplicatons-1.2.0-CMakeLists.txt"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="InsightApplicatons-1.2.0-CMakeLists.txt"
CMAKE_MINIMUM_REQUIRED(VERSION 1.6)
PROJECT(InsightApplications)
INCLUDE_REGULAR_EXPRESSION("^.*$")
# Tell CMake's FIND_PACKAGE command where to look for our Find<pkg>
# modules.
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
${InsightApplications_SOURCE_DIR})
IF(NOT WIN32)
OPTION(BUILD_SHARED_LIBS "Build Insight-Applications with shared
libraries." OFF)
ENDIF(NOT WIN32)
# Don't build anything unless the version of CMake is high enough.
# The matching ELSE/ENDIF should be the last lines in the file.
IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.5)
FIND_PACKAGE(ITK)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
ELSE(ITK_FOUND)
MESSAGE(FATAL_ERROR
"Cannot build InsightApplications without ITK. Please set
ITK_DIR.")
ENDIF(ITK_FOUND)
#-----------------------------------------------------------------------------
# Configure Dart testing support.
INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake)
MARK_AS_ADVANCED(TCL_TCLSH)
IF(BUILD_TESTING)
ENABLE_TESTING()
ENDIF(BUILD_TESTING)
# Determine what packages are available
# Add an option to use or not use VTK
OPTION(USE_VTK "Use VTK (The Visualization Toolkit) (some applications need
this)" OFF)
IF(USE_VTK)
FIND_PACKAGE(VTK)
IF (VTK_FOUND)
INCLUDE (${VTK_USE_FILE})
# Test for VTK using std libs
IF(NOT VTK_USE_ANSI_STDLIB)
MESSAGE("Warning. Your VTK was not built with the VTK_USE_ANSI_STDLIB
"
"option ON. Link errors may occur. Consider re-building VTK
"
"with this option ON. For MSVC 6, you MUST turn on the VTK "
"option. ITK will not link otherwise.")
ENDIF(NOT VTK_USE_ANSI_STDLIB)
# Test for VTK building Hybrid
IF(NOT VTK_USE_HYBRID)
MESSAGE("Your VTK was not built with the VTK_USE_HYBRID option ON. "
"Please reconfigure and recompile VTK with this option before
"
"trying to use it with ITK.")
SET(VTK_FOUND 0)
ENDIF(NOT VTK_USE_HYBRID)
ENDIF (VTK_FOUND)
ENDIF(USE_VTK)
# Look for OpenGL.
FIND_PACKAGE(OpenGL)
IF(OPENGL_INCLUDE_PATH)
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_PATH})
ENDIF(OPENGL_INCLUDE_PATH)
# Add an option to use or not use FLTK (http://www . fltk . org)
OPTION(USE_FLTK "Use FLTK (The Fast Light Toolkit) for GUI (some
applications need this)" OFF)
IF(USE_FLTK)
FIND_PACKAGE(FLTK)
IF(FLTK_FOUND)
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})
ENDIF(FLTK_FOUND)
ENDIF(USE_FLTK)
#Build the Auxiliary directory on which many applications depend
SUBDIRS(Auxiliary)
#Build the example of how to do simple scalar anisotropic diffusion
#on a PNG image
SUBDIRS (AnisotropicDiffusionImageFilter)
#Build the example of how to do simple feature extraction of gradient edges
#on a PNG image
SUBDIRS (GradientMagnitudeImageFilter)
#Build the example of various methods of segmentation using level sets.
SUBDIRS (LevelSetSegmentation)
#Build the example of how to create a static library for
# select filters in itk.
SUBDIRS (ITKFilterLib)
#Build the example of how to create a static library for
# the multi-resolution mutual information registration framework in itk.
SUBDIRS (ITKRegistrationLib)
# Build the BasicIOAndFilter example
SUBDIRS(BasicIOAndFilter)
#Build the parameter file parser necessary for several applications that
follow
SUBDIRS(StreamedWatershedSegmentation/ParameterFileParser)
# Build the StreamedWatershedSegmentation example
#SUBDIRS(StreamedWatershedSegmentation)
# Build the AntiAliasBinaryImageFilter example
SUBDIRS(AntiAliasBinaryImageFilter)
# Build the WatershedSegmentation example
SUBDIRS(WatershedSegmentation)
# Build the SimpleLevelSetsExample
SUBDIRS(SimpleLevelSetsExample)
# Build the FloodFilledSpatialFunctionExample
SUBDIRS(FloodFilledSpatialFunction)
# Build the Multiresolution Registration example
SUBDIRS(MultiResMIRegistration)
# Build the MI Validation application
SUBDIRS(MIValidation)
# Build the IBSR Validation applications
SUBDIRS(IBSRValidation)
# Build the multichannel tissue classification validation
SUBDIRS(MultichannelTissueClassificationValidation)
# Build the RawImageReadWrite example
SUBDIRS(RawImageReadWrite)
# Build the PNGImageReadWrite example
SUBDIRS(PNGImageReadWrite)
# Build the ExtractImageRegion example
SUBDIRS(ExtractImageRegion)
# Build the DICOMApp example to output raw and png versions of DICOM file
SUBDIRS(DICOMApp)
# Build the simple ImageViewer example. This requires GLUT to be installed
IF(GLUT_FOUND)
SUBDIRS(ImageViewer)
ENDIF(GLUT_FOUND)
# Applications requiring MetaImages and Fltk GUI
IF(FLTK_FOUND)
IF(WIN32)
ADD_DEFINITIONS(-DWIN32)
ENDIF(WIN32)
SUBDIRS(AnisotropicDiffusionFltkGui)
SUBDIRS(DistanceMapFilter)
SUBDIRS(DicomImageViewer)
SUBDIRS(GaussianFilter)
SUBDIRS(GradientRecursiveGaussianFilter)
SUBDIRS(Curves2DExtractor)
SUBDIRS(Morphogenesis)
SUBDIRS(MutualInformationEuler2DRegistration)
SUBDIRS(ImageRegistration)
SUBDIRS(ImageRegistration2D)
SUBDIRS(RawImageReaderViewer)
SUBDIRS(VoronoiSegmentation)
SUBDIRS(SimpleFuzzyConnectedness)
#SUBDIRS(OperatingRoom)
IF(VTK_FOUND)
SUBDIRS(TripleTKImageDisplay)
SUBDIRS(RegionGrowingSegmentation)
SUBDIRS(ThresholdSegmentationLevelSet)
SUBDIRS(FastMarchingLevelSet)
SUBDIRS(ShapeDetectionLevelSet)
SUBDIRS(GeodesicActiveContour)
ENDIF(VTK_FOUND)
SUBDIRS(MetaImageViewer)
SUBDIRS(MetaImageColorViewer)
SUBDIRS(SurfaceGenerator)
ENDIF(FLTK_FOUND)
# MetaImage Utilities
SUBDIRS(MetaImageImporter)
SUBDIRS(MetaImageReadWrite)
# Test the conditions for building the MRIBiasCorrection example
SUBDIRS(MRIBiasCorrection)
# Add an option to build FEM applications
SUBDIRS(FEM)
# Add an option to build or not build the FuzzyConnectedness example
SUBDIRS(FuzzyConnectedness)
# Add an option to build or not build the ShapeDetection example
SUBDIRS(ShapeDetection)
# Add an option to build or not build the
# GaussianMinimumErrorClassifier example
SUBDIRS(GaussianMinimumErrorClassifier)
# Add an option to build or not build the
EllipsoidInteriorExteriorSpatialFunction example
SUBDIRS(EllipsoidInteriorExteriorSpatialFunction)
# Add an option to build or not build the
SymmetricEllipsoidInteriorExteriorSpatialFunction example
SUBDIRS(SymmetricEllipsoidInteriorExteriorSpatialFunction)
# Test the conditions for building the ThinPlateSplines example
IF(VTK_FOUND)
IF(FLTK_FOUND)
SUBDIRS(ThinPlateSplines)
ENDIF(FLTK_FOUND)
IF(VTK_WRAP_TCL)
SUBDIRS(MRIRegistration vtkITK SegmentationEditor)
ENDIF(VTK_WRAP_TCL)
ENDIF(VTK_FOUND)
LINK_LIBRARIES (
ITKAlgorithms
VXLNumerics
ITKCommon
ITKBasicFilters
)
# If the version of CMake was too old, complain and build nothing.
# These should be the last lines in this file.
ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.5)
MESSAGE(SEND_ERROR
"This version of CMake is too old to build InsightApplications. "
"Please upgrade to CMake 1.6.")
ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.5)
------=_NextPart_000_5b11_7b71_77c5
Content-Type: text/plain; name="OperatingRoom-CMakeLists.txt"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="OperatingRoom-CMakeLists.txt"
PROJECT( OperatingRoom )
INCLUDE_DIRECTORIES(
${InsightApplications_SOURCE_DIR}/Auxiliary/FltkImageViewer
${InsightApplications_BINARY_DIR}/Auxiliary/FltkImageViewer
${OperatingRoom_SOURCE_DIR}
${OperatingRoom_BINARY_DIR}
)
SET(OperatingRoom_SRCS
liC_Arm3D.cxx
liCommandGLRedrawModelFixed.cxx
liCommandGLRedrawModelSensitive.cxx
liCommandUpdateImageIntensifier.cxx
liCommandUpdateRegistratorFieldOfView.cxx
liCommandUpdateSpineModelGUI.cxx
liCommandTubesGeneratePointSet.cxx
liFluoroscopyCArm.cxx
liFluoroscopyCArmMobile.cxx
liFluoroscopyUnitView.cxx
liLight.cxx
liOperatingRoomModel.cxx
liOperatingRoomView.cxx
liPatient.cxx
liPointSet3D.cxx
liSampleGenerator.cxx
liSampleGeneratorBase.cxx
liSampleGeneratorBodyPlane.cxx
liSampleGeneratorCollection.cxx
liSampleGeneratorCollectionBase.cxx
liSampleGeneratorPedicle.cxx
liSpineInterventionConfiguration.cxx
liSpineModel.cxx
liSurgeryTable.cxx
liVectorTubes3D.cxx
liVertebralBody.cxx
liVertebralPedicle.cxx
liVertebralSampleGenerator.cxx
liVertebralSegment.cxx
liVertebralSegmentRegistrator.cxx
liVesselsRegistrator.cxx
liTube3D.cxx
main.cxx
)
SET(OperatingRoom_GUI_SRCS
liVesselsModelGUI.fl
liVertebralSegmentGUI.fl
liSurgeryTableGUI.fl
liSpineModelGUI.fl
liSpineInterventionConfigurationGUI.fl
liSampleGeneratorPedicleGUI.fl
liSampleGeneratorGUI.fl
liSampleGeneratorCollectionGUI.fl
liSampleGeneratorBodyPlaneGUI.fl
liOperatingRoomViewGUI.fl
liFluoroscopyUnitViewGUI.fl
liFluoroscopyCArmMobileGUI.fl
)
LINK_LIBRARIES (
ITKCommon
ITKBasicFilters
ITKIO
VXLNumerics
FltkImageViewer
${FLTK_LIBRARY}
${GLU_LIBRARY}
${OPENGL_LIBRARY}
)
ADD_EXECUTABLE(OperatingRoom ${OperatingRoom_SRCS})
FLTK_WRAP_UI(OperatingRoom ${OperatingRoom_GUI_SRCS})
------=_NextPart_000_5b11_7b71_77c5--