# This directory should only be build if wxWindows and VTK can be found SET(MaracasKernel_SRCS curve.cxx curve.hxx volume.cxx volume.hxx marVector.cpp marVector.h marMatrix.cpp marMatrix.h marMathConst.h marTypes.h marAxis.cpp marAxis.h marContour.cpp marContour.h marKVolume.cpp marKVolume.h marDynData.cpp marDynData.h marExperiment.cpp marExperiment.h marInterface.cpp marInterface.h marObject.cpp marObject.h marParameters.cpp marParameters.h marDicomBase.cpp marDicomBase.h axisExtractor.cxx axisExtractor.h axisExtractor02.cxx axisExtractor02.h carotidaBifurcacion.cxx carotidaBifurcacion.h marAxisCT.cpp marAxisCT.h marInterfaceCT.cpp marInterfaceCT.h marExperimentCT.cpp marExperimentCT.h marAxisContours.cpp marAxisContours.h marContourVO.cpp marContourVO.h marIsocontour.cpp marIsocontour.h marPoint.cpp marPoint.h marLine.cpp marLine.h vtkDijkstraImageData.cxx vtkDijkstraImageData.h vtkOtsuImageData.cxx vtkOtsuImageData.h vtkOtsuSphereSource.cxx vtkOtsuSphereSource.h itkFM3D.h itkFM3D.cxx itkVTKImageToImageFilter.h itkVTKImageToImageFilter.txx itkImageToVTKImageFilter.h itkImageToVTKImageFilter.txx vtkJoiner.cxx vtkJoiner.h vtkSTLExtractor.cpp vtkSTLExtractor.h marUtils.h marUtils.cpp marImageData.cpp marImageData.h ) ADD_LIBRARY(MaracasKernel ${MaracasKernel_SRCS}) IF(CYGWIN) TARGET_LINK_LIBRARIES(MaracasKernel MaracasAlgorithm MaracasSnakeContour ${GDCM_LIBRARIES} ${WXWIDGETS_LIBRARIES} ${MARACAS_ITK_LIBRARIES} ) ELSE(CYGWIN) TARGET_LINK_LIBRARIES(MaracasKernel MaracasAlgorithm MaracasSnakeContour ${GDCM_LIBRARIES} ${WXWIDGETS_LIBRARIES} vtkCommon vtkGraphics vtkImaging ${MARACAS_ITK_LIBRARIES} ) ENDIF(CYGWIN) #SET_TARGET_PROPERTIES(MaracasKernel PROPERTIES LINK_FLAGS "/nodefaultlib:msvcrt")