Commit 6a1ef45c authored by Romain Garrigues's avatar Romain Garrigues
Browse files

Fichiers CMake modifiés pour permettre la compilation d'ITK dans le projet OTB.

parent 4836215c
This diff is collapsed.
...@@ -2,3 +2,8 @@ ...@@ -2,3 +2,8 @@
SUBDIRS( CAI ) SUBDIRS( CAI )
IF(NOT OTB_USE_EXTERNAL_ITK)
SUBDIRS( ITK )
ENDIF(NOT OTB_USE_EXTERNAL_ITK)
...@@ -20,10 +20,30 @@ SET(OTB_INCLUDE_DIRS_BUILD_TREE ${OTB_INCLUDE_DIRS_BUILD_TREE} ...@@ -20,10 +20,30 @@ SET(OTB_INCLUDE_DIRS_BUILD_TREE ${OTB_INCLUDE_DIRS_BUILD_TREE}
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Include directories from the GDAL build tree. # Include directories from the GDAL build tree.
#INCLUDE(${OTB_SOURCE_DIR}/Utilities/GDAL/gdalIncludeDirectories.cmake) #IF(NOT OTB_USE_EXTERNAL_GDAL)
#SET(OTB_INCLUDE_DIRS_BUILD_TREE ${OTB_INCLUDE_DIRS_BUILD_TREE} # INCLUDE(${OTB_SOURCE_DIR}/Utilities/GDAL/gdalIncludeDirectories.cmake)
# ${GDAL_INCLUDE_DIRS_BUILD_TREE} # SET(OTB_INCLUDE_DIRS_BUILD_TREE ${OTB_INCLUDE_DIRS_BUILD_TREE}
# ) # ${GDAL_INCLUDE_DIRS_BUILD_TREE}
# )
#ENDIF(NOT OTB_USE_EXTERNAL_GDAL)
#-----------------------------------------------------------------------------
# Include directories from the ITK build tree.e
IF(NOT OTB_USE_EXTERNAL_ITK)
INCLUDE(${OTB_SOURCE_DIR}/Utilities/ITK/itkIncludeDirectories.cmake)
SET(OTB_INCLUDE_DIRS_BUILD_TREE ${OTB_INCLUDE_DIRS_BUILD_TREE}
${ITK_INCLUDE_DIRS_BUILD_TREE}
)
ENDIF(NOT OTB_USE_EXTERNAL_ITK)
#-----------------------------------------------------------------------------
# Include directories from the FLTK build tree.
#IF(NOT OTB_USE_EXTERNAL_FLTK)
# INCLUDE(${OTB_SOURCE_DIR}/Utilities/FLTK/fltkIncludeDirectories.cmake)
# SET(OTB_INCLUDE_DIRS_BUILD_TREE ${OTB_INCLUDE_DIRS_BUILD_TREE}
# ${FLTK_INCLUDE_DIRS_BUILD_TREE}
# )
#ENDIF(NOT OTB_USE_EXTERNAL_FLTK)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
...@@ -58,6 +78,7 @@ SET(OTB_INCLUDE_DIRS_INSTALL_TREE ${OTB_INCLUDE_DIRS_INSTALL_TREE} ...@@ -58,6 +78,7 @@ SET(OTB_INCLUDE_DIRS_INSTALL_TREE ${OTB_INCLUDE_DIRS_INSTALL_TREE}
${OTB_INSTALL_INCLUDE_DIR}/Utilities ${OTB_INSTALL_INCLUDE_DIR}/Utilities
${OTB_INSTALL_INCLUDE_DIR}/Utilities/CAI ${OTB_INSTALL_INCLUDE_DIR}/Utilities/CAI
${OTB_INSTALL_INCLUDE_DIR}/Utilities/GDAL ${OTB_INSTALL_INCLUDE_DIR}/Utilities/GDAL
${OTB_INSTALL_INCLUDE_DIR}/Utilities/ITK
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment