Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 03b15d50 authored by saubatn's avatar saubatn
Browse files

UPDATED CMake configuration of CamiTK SDK + Imaging (+ Modeling) ok.

parent faa0e81a
#--------------------------------------------
# Imaging extension project
#--------------------------------------------
cmake_minimum_required(VERSION 2.6)
# Mini find CamiTK inside SDK
set(CAMITK_DIR ${CMAKE_BINARY_DIR})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CAMITK_DIR}/share/${CAMITK_SHORT_VERSION_STRING}/cmake)
......
......@@ -203,442 +203,458 @@ macro(camitk_application)
set(ITK_VERSION ${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}.${ITK_VERSION_PATCH}) #ITK_VERSION is not always set
message(STATUS "${APPLICATION_TARGET_NAME}: Found ITK version ${ITK_VERSION}")
# Now select the ITK libraries according to the ITK version found.
# ITK 3.x.x (mostly 3.20.1)
if ((${ITK_VERSION} VERSION_GREATER "3") AND (${ITK_VERSION} VERSION_LESS "4"))
if (MSVC) # Visual Studio compilers
if(MSVC90 OR MSVC10) #ITK 3.x only works with VS 2008 / 2010
set(ITK_LIBRARIES
debug ITKAlgorithms${CAMITK_DEBUG_POSTFIX}.lib
optimized ITKAlgorithms
debug ITKBasicFilters${CAMITK_DEBUG_POSTFIX}.lib
optimized ITKBasicFilters
debug ITKCommon${CAMITK_DEBUG_POSTFIX}.lib
optimized ITKCommon
debug ITKIO${CAMITK_DEBUG_POSTFIX}.lib
optimized ITKIO
debug ITKNrrdIO${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcm${CAMITK_DEBUG_POSTFIX}.lib
debug itkjpeg12${CAMITK_DEBUG_POSTFIX}.lib
debug itkjpeg16${CAMITK_DEBUG_POSTFIX}.lib
debug itkopenjpeg${CAMITK_DEBUG_POSTFIX}.lib
debug itkpng${CAMITK_DEBUG_POSTFIX}.lib
debug itktiff${CAMITK_DEBUG_POSTFIX}.lib
debug itkjpeg8${CAMITK_DEBUG_POSTFIX}.lib
debug ITKSpatialObject${CAMITK_DEBUG_POSTFIX}.lib
debug itkvnl_inst${CAMITK_DEBUG_POSTFIX}.lib
debug itkvnl_algo${CAMITK_DEBUG_POSTFIX}.lib
debug itkv3p_netlib${CAMITK_DEBUG_POSTFIX}.lib
debug itkvnl${CAMITK_DEBUG_POSTFIX}.lib
debug itkvcl${CAMITK_DEBUG_POSTFIX}.lib
debug itkv3p_lsqr${CAMITK_DEBUG_POSTFIX}.lib
debug ITKMetaIO${CAMITK_DEBUG_POSTFIX}.lib
debug itksys${CAMITK_DEBUG_POSTFIX}.lib
debug ITKDICOMParser${CAMITK_DEBUG_POSTFIX}.lib
debug ITKEXPAT${CAMITK_DEBUG_POSTFIX}.lib
debug ITKniftiio${CAMITK_DEBUG_POSTFIX}.lib
debug ITKznz${CAMITK_DEBUG_POSTFIX}.lib
debug itkzlib${CAMITK_DEBUG_POSTFIX}.lib
debug snmpapi.lib
debug rpcrt4.lib
debug ws2_32.lib
debug comctl32.lib
debug wsock32.lib
debug opengl32.lib
)
elseif(MSVC11 OR MSVC12) # Visual Studion 2012/2013
message(FATAL_ERROR "It seems you have ITK version 3.x installed. This one is not compatible with Visual Studio 2012 or 2013. Please install ITK 4.3.x or 4.5.x instead")
endif()
elseif(MINGW)
message(FATAL_ERROR "CamiTK does not support ITK 3.x libraries for MinGW. You may file a feature request: https://bugzilla-timc.imag.fr/")
else() #APPLE OR UNIX
set(ITK_LIBRARIES ITKBasicFilters ITKCommon ITKIO ITKAlgorithms)
endif()
# ITK 4.3.x (mostly 4.3.2)
elseif((${ITK_VERSION} VERSION_GREATER "4") AND (${ITK_VERSION} VERSION_LESS "4.4"))
if (MSVC) # Visual Studio compilers
if(MSVC90 OR MSVC10) #ITK 3.x only works with VS 2008 / 2010
message(FATAL_ERROR "ITK version ${ITK_VERSION} is not compatible with Visual Studio 2008 or 2010. Please install ITK version 4.3.x or 4.5.x")
elseif(MSVC11 OR MSVC12) # Visual Studion 2012/2013
link_directories(${ITK_DIR}/../..)
set(ITK_LIBRARIES
# Debug libraries
debug ITKCommon-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKNrrdIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmCommon-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkjpeg-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkopenjpeg-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkpng-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itktiff-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKSpatialObjects-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkvnl_algo-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkv3p_netlib-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkvnl-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkvcl-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkv3p_lsqr-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKMetaIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itksys-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKDICOMParser-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKEXPAT-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKniftiio-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKznz-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkzlib-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug snmpapi.lib
debug rpcrt4.lib
debug ws2_32.lib
debug comctl32.lib
debug wsock32.lib
debug opengl32.lib
debug ITKIOGIPL-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIONIFTI-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIONRRD-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOPNG-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmDICT-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmDSED-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmIOD-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmjpeg8-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmjpeg12-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmjpeg16-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkgdcmMSFF-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKgiftiio-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkhdf5_cpp-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkhdf5-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKMetaIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOBioRad-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOStimulate-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOTIFF-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOVTK-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOPNG-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKBiasCorrection-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKBioCell-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKFEM-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOBMP-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOCSV-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOGDCM-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOGE-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOGIPL-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOHDF5-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOImageBase-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOIPL-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOJPEG-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOLSM-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOMesh-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOMeta-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOSiemens-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOSpatialObjects-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOTransformBase-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOTransformHDF5-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOTransformInsightLegacy-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOTransformMatlab-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKIOXML-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKKLMRegionGrowing-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKLabelMap-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKMesh-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKMetaIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkNetlibSlatec-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkopenjpeg-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKOptimizers-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKOptimizersv4-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKPath-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkpng-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKPolynomials-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKQuadEdgeMesh-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKReview-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKStatistics-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkv3p_lsqr-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkv3p_netlib-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug itkvcl-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKVideoCore-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKVideoIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKVTK-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKVNLInstantiation-4.3${CAMITK_DEBUG_POSTFIX}.lib
debug ITKWatersheds-4.3${CAMITK_DEBUG_POSTFIX}.lib
# Release librariesdebug
optimized ITKCommon-4.3.lib
optimized ITKNrrdIO-4.3.lib
optimized itkgdcmCommon-4.3.lib
optimized itkjpeg-4.3.lib
optimized itkopenjpeg-4.3.lib
optimized itkpng-4.3.lib
optimized itktiff-4.3.lib
optimized ITKSpatialObjects-4.3.lib
optimized itkvnl_algo-4.3.lib
optimized itkv3p_netlib-4.3.lib
optimized itkvnl-4.3.lib
optimized itkvcl-4.3.lib
optimized itkv3p_lsqr-4.3.lib
optimized ITKMetaIO-4.3.lib
optimized itksys-4.3.lib
optimized ITKDICOMParser-4.3.lib
optimized ITKEXPAT-4.3.lib
optimized ITKniftiio-4.3.lib
optimized ITKznz-4.3.lib
optimized itkzlib-4.3.lib
optimized snmpapi.lib
optimized rpcrt4.lib
optimized ws2_32.lib
optimized comctl32.lib
optimized wsock32.lib
optimized opengl32.lib
optimized ITKIOGIPL-4.3.lib
optimized ITKIONIFTI-4.3.lib
optimized ITKIONRRD-4.3.lib
optimized ITKIOPNG-4.3.lib
optimized itkgdcmDICT-4.3.lib
optimized itkgdcmDSED-4.3.lib
optimized itkgdcmIOD-4.3.lib
optimized itkgdcmjpeg8-4.3.lib
optimized itkgdcmjpeg12-4.3.lib
optimized itkgdcmjpeg16-4.3.lib
optimized itkgdcmMSFF-4.3.lib
optimized ITKgiftiio-4.3.lib
optimized itkhdf5_cpp-4.3.lib
optimized itkhdf5-4.3.lib
optimized ITKMetaIO-4.3.lib
optimized ITKIOBioRad-4.3.lib
optimized ITKIOStimulate-4.3.lib
optimized ITKIOTIFF-4.3.lib
optimized ITKIOVTK-4.3.lib
optimized ITKIOPNG-4.3.lib
optimized ITKBiasCorrection-4.3.lib
optimized ITKBioCell-4.3.lib
optimized ITKFEM-4.3.lib
optimized ITKIOBMP-4.3.lib
optimized ITKIOCSV-4.3.lib
optimized ITKIOGDCM-4.3.lib
optimized ITKIOGE-4.3.lib
optimized ITKIOGIPL-4.3.lib
optimized ITKIOHDF5-4.3.lib
optimized ITKIOImageBase-4.3.lib
optimized ITKIOIPL-4.3.lib
optimized ITKIOJPEG-4.3.lib
optimized ITKIOLSM-4.3.lib
optimized ITKIOMesh-4.3.lib
optimized ITKIOMeta-4.3.lib
optimized ITKIOSiemens-4.3.lib
optimized ITKIOSpatialObjects-4.3.lib
optimized ITKIOTransformBase-4.3.lib
optimized ITKIOTransformHDF5-4.3.lib
optimized ITKIOTransformInsightLegacy-4.3.lib
optimized ITKIOTransformMatlab-4.3.lib
optimized ITKIOXML-4.3.lib
optimized ITKKLMRegionGrowing-4.3.lib
optimized ITKLabelMap-4.3.lib
optimized ITKMesh-4.3.lib
optimized ITKMetaIO-4.3.lib
optimized itkNetlibSlatec-4.3.lib
optimized itkopenjpeg-4.3.lib
optimized ITKOptimizers-4.3.lib
optimized ITKOptimizersv4-4.3.lib
optimized ITKPath-4.3.lib
optimized itkpng-4.3.lib
optimized ITKPolynomials-4.3.lib
optimized ITKQuadEdgeMesh-4.3.lib
optimized ITKReview-4.3.lib
optimized ITKStatistics-4.3.lib
optimized itkv3p_lsqr-4.3.lib
optimized itkv3p_netlib-4.3.lib
optimized itkvcl-4.3.lib
optimized ITKVideoCore-4.3.lib
optimized ITKVideoIO-4.3.lib
optimized ITKVTK-4.3.lib
optimized ITKVNLInstantiation-4.3.lib
optimized ITKWatersheds-4.3.lib
)
endif()
elseif(MINGW OR APPLE)
link_directories(${ITK_DIR}/../..)
set(ITK_LIBRARIES
ITKCommon-4.3
ITKNrrdIO-4.3
itkgdcmCommon-4.3
itkjpeg-4.3
itkopenjpeg-4.3
itkpng-4.3
itktiff-4.3
ITKSpatialObjects-4.3
itkvnl_algo-4.3
itkv3p_netlib-4.3
itkvnl-4.3
itkvcl-4.3
itkv3p_lsqr-4.3
ITKMetaIO-4.3
itksys-4.3
ITKDICOMParser-4.3
ITKEXPAT-4.3
ITKniftiio-4.3
ITKznz-4.3
itkzlib-4.3
snmpapi
rpcrt4
ws2_32
comctl32
wsock32
opengl32
ITKIOGIPL-4.3
ITKIONIFTI-4.3
ITKIONRRD-4.3
ITKIOPNG-4.3
itkgdcmDICT-4.3
itkgdcmDSED-4.3
itkgdcmIOD-4.3
itkgdcmjpeg8-4.3
itkgdcmjpeg12-4.3
itkgdcmjpeg16-4.3
itkgdcmMSFF-4.3
ITKgiftiio-4.3
itkhdf5_cpp-4.3
itkhdf5-4.3
ITKMetaIO-4.3
ITKIOBioRad-4.3
ITKIOStimulate-4.3
ITKIOTIFF-4.3
ITKIOVTK-4.3
ITKIOPNG-4.3
ITKBiasCorrection-4.3
ITKBioCell-4.3
ITKFEM-4.3
ITKIOBMP-4.3
ITKIOCSV-4.3
ITKIOGDCM-4.3
ITKIOGE-4.3
ITKIOGIPL-4.3
ITKIOHDF5-4.3
ITKIOImageBase-4.3
ITKIOIPL-4.3
ITKIOJPEG-4.3
ITKIOLSM-4.3
ITKIOMesh-4.3
ITKIOMeta-4.3
ITKIOSiemens-4.3
ITKIOSpatialObjects-4.3
ITKIOTransformBase-4.3
ITKIOTransformHDF5-4.3
ITKIOTransformInsightLegacy-4.3
ITKIOTransformMatlab-4.3
ITKIOXML-4.3
ITKKLMRegionGrowing-4.3
ITKLabelMap-4.3
ITKMesh-4.3
ITKMetaIO-4.3
itkNetlibSlatec-4.3
itkopenjpeg-4.3
ITKOptimizers-4.3
ITKOptimizersv4-4.3
ITKPath-4.3
itkpng-4.3
ITKPolynomials-4.3
ITKQuadEdgeMesh-4.3
ITKReview-4.3
ITKStatistics-4.3
itkv3p_lsqr-4.3
itkv3p_netlib-4.3
itkvcl-4.3
ITKVideoCore-4.3
ITKVideoIO-4.3
ITKVTK-4.3
ITKVNLInstantiation-4.3
ITKWatersheds-4.3
)
else() #Linux
set(ITK_LIBRARIES ITKCommon-4.3)
endif()
# ITK 4.5.x (mostly 4.5.1)
elseif((${ITK_VERSION} VERSION_GREATER "4.4") AND (${ITK_VERSION} VERSION_LESS "4.7"))
if ((${ITK_VERSION} VERSION_GREATER "4.8") AND (${ITK_VERSION} VERSION_LESS "5")) # ITK 4.9 on Windows, maybe a lesser version for Linux.
if(MSVC)
message(FATAL_ERROR "ITK version 4.5.x is not supported yet on Visual Studio compiler. You may file a feature request: https://bugzilla-timc.imag.fr/")
elseif(MINGW)
message(FATAL_ERROR "ITK version 4.5.x is not supported yet for MinGW compiler. You may file a feature request: https://bugzilla-timc.imag.fr/")
# Construct list of VTK libraries for linking
foreach(ITK_LIBRARY ${ITK_LIBRARIES})
set(CAMITK_ITK_LIBRARIES ${CAMITK_ITK_LIBRARIES} debug ${ITK_DIR}/${ITK_LIBRARY}-${CAMITK_ITK_VERSION}${CAMITK_DEBUG_POSTFIX}.lib optimized ${ITK_DIR}/${ITK_LIBRARY}-${CAMITK_ITK_VERSION}.lib)
endforeach()
elseif(LINUX)
message(WARNING "CamiTKExtension.cmake: ITK LIBRARY NOT SET FOR LINUX")
elseif(APPLE)
set(ITK_LIBRARIES
ITKBiasCorrection
ITKBioCell
ITKCommon
ITKDICOMParser
ITKEXPAT
ITKFEM
ITKGPUAnisotropicSmoothing
ITKGPUCommon
ITKGPUFiniteDifference
ITKGPUImageFilterBase
ITKGPUPDEDeformable
ITKGPUSmoothing
ITKGPUThresholding
ITKIOBMP
ITKIOBioRad
ITKIOCSV
ITKIOGDCM
ITKIOGE
ITKIOGIPL
ITKIOHDF5
ITKIOIPL
ITKIOImageBase
ITKIOJPEG
ITKIOLSM
ITKIOMesh
ITKIOMeta
ITKIONIFTI
ITKIONRRD
ITKIOPNG
ITKIOSiemens
ITKIOSpatialObjects
ITKIOStimulate
ITKIOTIFF
ITKIOTransformBase
ITKIOTransformHDF5
ITKIOTransformInsightLegacy
ITKIOTransformMatlab
ITKIOVTK
ITKIOXML
ITKKLMRegionGrowing
ITKLabelMap
ITKMesh
ITKMetaIO
ITKNrrdIO
ITKOptimizers
ITKOptimizersv4
ITKPath
ITKPolynomials
ITKQuadEdgeMesh
ITKReview
ITKSpatialObjects
ITKStatistics
ITKVNLInstantiation
ITKVTK
ITKVideoCore
ITKVideoIO
ITKWatersheds
ITKgiftiio
ITKniftiio
ITKznz
itkNetlibSlatec
itkdouble-conversion
itkhdf5
itkhdf5_cpp
itkjpeg
itkopenjpeg
itkpng
itksys
itktiff
itkv3p_lsqr
itkv3p_netlib
itkvcl
itkvnl
itkvnl_algo
itkzlib
)
else() #Linux
message(FATAL_ERROR "ITK version 4.5.x is not supported yet for Linux platform. You may file a feature request: https://bugzilla-timc.imag.fr/")
message(WARNING "CamiTKExtension.cmake: ITK LIBRARY NOT SET FOR APPLE")
endif()
# ITK version > 4.6 (mostly ITK 5.x)
else()
message(FATAL_ERROR "CamiTK does not support yet ITK version 5.x. You may file a feature request: https://bugzilla-timc.imag.fr/")
endif()
endif()
endif() #NEEDS ITK
endif()
# # Now select the ITK libraries according to the ITK version found.
# # ITK 3.x.x (mostly 3.20.1)
# if ((${ITK_VERSION} VERSION_GREATER "3") AND (${ITK_VERSION} VERSION_LESS "4"))
# if (MSVC) # Visual Studio compilers
# if(MSVC90 OR MSVC10) #ITK 3.x only works with VS 2008 / 2010
# set(ITK_LIBRARIES
# debug ITKAlgorithms${CAMITK_DEBUG_POSTFIX}.lib
# optimized ITKAlgorithms
# debug ITKBasicFilters${CAMITK_DEBUG_POSTFIX}.lib
# optimized ITKBasicFilters
# debug ITKCommon${CAMITK_DEBUG_POSTFIX}.lib
# optimized ITKCommon
# debug ITKIO${CAMITK_DEBUG_POSTFIX}.lib
# optimized ITKIO
# debug ITKNrrdIO${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcm${CAMITK_DEBUG_POSTFIX}.lib
# debug itkjpeg12${CAMITK_DEBUG_POSTFIX}.lib
# debug itkjpeg16${CAMITK_DEBUG_POSTFIX}.lib
# debug itkopenjpeg${CAMITK_DEBUG_POSTFIX}.lib
# debug itkpng${CAMITK_DEBUG_POSTFIX}.lib
# debug itktiff${CAMITK_DEBUG_POSTFIX}.lib
# debug itkjpeg8${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKSpatialObject${CAMITK_DEBUG_POSTFIX}.lib
# debug itkvnl_inst${CAMITK_DEBUG_POSTFIX}.lib
# debug itkvnl_algo${CAMITK_DEBUG_POSTFIX}.lib
# debug itkv3p_netlib${CAMITK_DEBUG_POSTFIX}.lib
# debug itkvnl${CAMITK_DEBUG_POSTFIX}.lib
# debug itkvcl${CAMITK_DEBUG_POSTFIX}.lib
# debug itkv3p_lsqr${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKMetaIO${CAMITK_DEBUG_POSTFIX}.lib
# debug itksys${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKDICOMParser${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKEXPAT${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKniftiio${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKznz${CAMITK_DEBUG_POSTFIX}.lib
# debug itkzlib${CAMITK_DEBUG_POSTFIX}.lib
# debug snmpapi.lib
# debug rpcrt4.lib
# debug ws2_32.lib
# debug comctl32.lib
# debug wsock32.lib
# debug opengl32.lib
# )
# elseif(MSVC11 OR MSVC12) # Visual Studion 2012/2013
# message(FATAL_ERROR "It seems you have ITK version 3.x installed. This one is not compatible with Visual Studio 2012 or 2013. Please install ITK 4.3.x or 4.5.x instead")
# endif()
# elseif(MINGW)
# message(FATAL_ERROR "CamiTK does not support ITK 3.x libraries for MinGW. You may file a feature request: https://bugzilla-timc.imag.fr/")
# else() #APPLE OR UNIX
# set(ITK_LIBRARIES ITKBasicFilters ITKCommon ITKIO ITKAlgorithms)
# endif()
# # ITK 4.3.x (mostly 4.3.2)
# elseif((${ITK_VERSION} VERSION_GREATER "4") AND (${ITK_VERSION} VERSION_LESS "4.4"))
# if (MSVC) # Visual Studio compilers
# if(MSVC90 OR MSVC10) #ITK 3.x only works with VS 2008 / 2010
# message(FATAL_ERROR "ITK version ${ITK_VERSION} is not compatible with Visual Studio 2008 or 2010. Please install ITK version 4.3.x or 4.5.x")
# elseif(MSVC11 OR MSVC12) # Visual Studion 2012/2013
# link_directories(${ITK_DIR}/../..)
# set(ITK_LIBRARIES
# # Debug libraries
# debug ITKCommon-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKNrrdIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmCommon-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkjpeg-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkopenjpeg-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkpng-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itktiff-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKSpatialObjects-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkvnl_algo-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkv3p_netlib-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkvnl-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkvcl-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkv3p_lsqr-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKMetaIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itksys-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKDICOMParser-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKEXPAT-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKniftiio-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKznz-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkzlib-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug snmpapi.lib
# debug rpcrt4.lib
# debug ws2_32.lib
# debug comctl32.lib
# debug wsock32.lib
# debug opengl32.lib
# debug ITKIOGIPL-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIONIFTI-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIONRRD-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOPNG-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmDICT-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmDSED-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmIOD-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmjpeg8-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmjpeg12-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmjpeg16-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkgdcmMSFF-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKgiftiio-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkhdf5_cpp-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkhdf5-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKMetaIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOBioRad-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOStimulate-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOTIFF-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOVTK-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOPNG-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKBiasCorrection-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKBioCell-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKFEM-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOBMP-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOCSV-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOGDCM-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOGE-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOGIPL-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOHDF5-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOImageBase-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOIPL-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOJPEG-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOLSM-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOMesh-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOMeta-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOSiemens-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOSpatialObjects-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOTransformBase-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOTransformHDF5-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOTransformInsightLegacy-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOTransformMatlab-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKIOXML-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKKLMRegionGrowing-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKLabelMap-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKMesh-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKMetaIO-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkNetlibSlatec-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkopenjpeg-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKOptimizers-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKOptimizersv4-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKPath-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkpng-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKPolynomials-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKQuadEdgeMesh-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKReview-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug ITKStatistics-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkv3p_lsqr-4.3${CAMITK_DEBUG_POSTFIX}.lib
# debug itkv3p_netlib-4.3${CAMITK_DEBUG_POSTFIX}.lib