Commit 75ddc967 authored by Julien Michel's avatar Julien Michel
Browse files

COMP: Refactoring the TARGET_LINK_LIBRARIES. Any executable must can now link...

COMP: Refactoring the TARGET_LINK_LIBRARIES. Any executable must can now link only with OTBIO and eventually with a thematic library
parent 55a4989c
......@@ -3,7 +3,7 @@
FILE(GLOB OTBBasicFilters_SRCS "*.cxx" )
ADD_LIBRARY(OTBBasicFilters ${OTBBasicFilters_SRCS})
TARGET_LINK_LIBRARIES (OTBBasicFilters ITKCommon)
TARGET_LINK_LIBRARIES (OTBBasicFilters OTBCommon ITKBasicFilters)
INSTALL(TARGETS OTBBasicFilters
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBChangeDetection_SRCS "*.cxx" )
ADD_LIBRARY(OTBChangeDetection ${OTBChangeDetection_SRCS})
TARGET_LINK_LIBRARIES (OTBChangeDetection OTBCommon OTBIO ITKCommon)
TARGET_LINK_LIBRARIES (OTBChangeDetection OTBCommon ITKStatistics)
INSTALL(TARGETS OTBChangeDetection
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBDisparityMap_SRCS "*.cxx" )
ADD_LIBRARY(OTBDisparityMap ${OTBDisparityMap_SRCS})
TARGET_LINK_LIBRARIES (OTBDisparityMap ITKCommon)
TARGET_LINK_LIBRARIES (OTBDisparityMap OTBCommon itkvnl)
INSTALL(TARGETS OTBDisparityMap
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -4,7 +4,7 @@
FILE(GLOB OTBFeatureExtraction_SRCS "*.cxx" )
ADD_LIBRARY(OTBFeatureExtraction ${OTBFeatureExtraction_SRCS})
TARGET_LINK_LIBRARIES (OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO ITKAlgorithms)
TARGET_LINK_LIBRARIES (OTBFeatureExtraction OTBCommon)
INSTALL(TARGETS OTBFeatureExtraction
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBFusion_SRCS "*.cxx" )
ADD_LIBRARY(OTBFusion ${OTBFusion_SRCS})
TARGET_LINK_LIBRARIES (OTBFusion ITKCommon)
TARGET_LINK_LIBRARIES (OTBFusion OTBCommon)
INSTALL(TARGETS OTBFusion
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -27,7 +27,7 @@ ENDIF(OTB_COMPILE_JPEG2000)
ADD_LIBRARY(OTBIO ${OTBIO_SRCS})
TARGET_LINK_LIBRARIES (OTBIO gdal OTBCommon ITKIO ITKCommon otbossim dxf otbkml)
TARGET_LINK_LIBRARIES (OTBIO OTBCommon ITKIO ITKCommon gdal otbossim dxf otbkml)
IF( OTB_COMPILE_JPEG2000 )
TARGET_LINK_LIBRARIES (OTBIO otbopenjpeg)
ENDIF( OTB_COMPILE_JPEG2000 )
......
......@@ -4,7 +4,7 @@
FILE(GLOB OTBLearning_SRCS "*.cxx" )
ADD_LIBRARY(OTBLearning ${OTBLearning_SRCS})
TARGET_LINK_LIBRARIES (OTBLearning otbsvm OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES (OTBLearning OTBCommon otbsvm)
INSTALL(TARGETS OTBLearning
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBMarkov_SRCS "*.cxx" )
ADD_LIBRARY(OTBMarkov ${OTBMarkov_SRCS})
TARGET_LINK_LIBRARIES (OTBMarkov ITKCommon)
TARGET_LINK_LIBRARIES (OTBMarkov OTBCommon)
INSTALL(TARGETS OTBMarkov
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBMultiScale_SRCS "*.cxx" )
ADD_LIBRARY(OTBMultiScale ${OTBMultiScale_SRCS})
TARGET_LINK_LIBRARIES (OTBMultiScale ITKCommon)
TARGET_LINK_LIBRARIES (OTBMultiScale OTBCommon)
INSTALL(TARGETS OTBMultiScale
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBRadiometry_SRCS "*.cxx" )
ADD_LIBRARY(OTBRadiometry ${OTBRadiometry_SRCS})
TARGET_LINK_LIBRARIES (OTBRadiometry OTBCommon OTBBasicFilters otb6S)
TARGET_LINK_LIBRARIES (OTBRadiometry OTBCommon otb6S)
INSTALL(TARGETS OTBRadiometry
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBSARPOLARIMETRY_SRCS "*.cxx" )
ADD_LIBRARY(OTBSARPolarimetry ${OTBSARPOLARIMETRY_SRCS})
TARGET_LINK_LIBRARIES (OTBSARPolarimetry OTBCommon OTBBasicFilters)
TARGET_LINK_LIBRARIES (OTBSARPolarimetry OTBCommon)
INSTALL(TARGETS OTBSARPolarimetry
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -3,7 +3,7 @@
FILE(GLOB OTBSpatialReasoning_SRCS "*.cxx" )
ADD_LIBRARY(OTBSpatialReasoning ${OTBSpatialReasoning_SRCS})
TARGET_LINK_LIBRARIES (OTBSpatialReasoning ITKCommon)
TARGET_LINK_LIBRARIES (OTBSpatialReasoning OTBCommon)
INSTALL(TARGETS OTBSpatialReasoning
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -10,7 +10,7 @@ IF(APPLE AND BUILD_SHARED_LIBS)
ENDIF(APPLE AND BUILD_SHARED_LIBS)
ADD_LIBRARY(OTBVisu ${OTBVisu_SRCS})
TARGET_LINK_LIBRARIES (OTBVisu OTBGui ITKCommon OTBCommon ${FLTK_LIBRARIES} ${OPENGL_LIBRARIES})
TARGET_LINK_LIBRARIES (OTBVisu OTBGui OTBCommon ${FLTK_LIBRARIES} ${OPENGL_LIBRARIES})
INSTALL(TARGETS OTBVisu
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
......
......@@ -8,7 +8,7 @@ ADD_EXECUTABLE(ScalarImageKmeansClassifier ScalarImageKmeansClassifier.cxx )
TARGET_LINK_LIBRARIES(ScalarImageKmeansClassifier OTBIO OTBCommon ITKIO ITKCommon )
ADD_EXECUTABLE(KMeansImageClassificationExample KMeansImageClassificationExample.cxx )
TARGET_LINK_LIBRARIES(KMeansImageClassificationExample OTBCommon OTBLearning ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(KMeansImageClassificationExample OTBIO OTBLearning)
ADD_EXECUTABLE(ScalarImageKmeansModelEstimator ScalarImageKmeansModelEstimator.cxx )
TARGET_LINK_LIBRARIES(ScalarImageKmeansModelEstimator OTBIO OTBCommon ITKIO ITKCommon )
......@@ -23,10 +23,10 @@ ADD_EXECUTABLE(ScalarImageMarkovRandomField1 ScalarImageMarkovRandomField1.cxx )
TARGET_LINK_LIBRARIES(ScalarImageMarkovRandomField1 OTBIO OTBCommon ITKIO ITKCommon )
ADD_EXECUTABLE(SOMImageClassificationExample SOMImageClassificationExample.cxx )
TARGET_LINK_LIBRARIES(SOMImageClassificationExample OTBCommon OTBLearning ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(SOMImageClassificationExample OTBIO OTBLearning)
ADD_EXECUTABLE(SVMImageClassificationExample2 SVMImageClassifierExample.cxx )
TARGET_LINK_LIBRARIES(SVMImageClassificationExample2 OTBCommon OTBLearning ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(SVMImageClassificationExample2 OTBIO OTBLearning)
#ADD_EXECUTABLE( BayesianClassifierInitializer BayesianClassifierInitializer.cxx )
#TARGET_LINK_LIBRARIES(BayesianClassifierInitializer ITKCommon ITKStatistics ITKIO)
......
......@@ -1166,33 +1166,33 @@ ENDIF(USE_FFTWD)
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbBasicFiltersTests1 otbBasicFiltersTests1.cxx ${BasicFilters_SRCS1})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests1 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests1 OTBBasicFilters OTBIO)
ADD_EXECUTABLE(otbBasicFiltersTests2 otbBasicFiltersTests2.cxx ${BasicFilters_SRCS2})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests2 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests2 OTBBasicFilters OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests3 otbBasicFiltersTests3.cxx ${BasicFilters_SRCS3})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests3 OTBBasicFilters otbossim OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests3 OTBBasicFilters otbossim OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests4 otbBasicFiltersTests4.cxx ${BasicFilters_SRCS4})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests4 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests4 OTBBasicFilters OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests5 otbBasicFiltersTests5.cxx ${BasicFilters_SRCS5})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests5 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests5 OTBBasicFilters OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests6 otbBasicFiltersTests6.cxx ${BasicFilters_SRCS6})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests6 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests6 OTBBasicFilters OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests7 otbBasicFiltersTests7.cxx ${BasicFilters_SRCS7})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests7 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests7 OTBBasicFilters OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests8 otbBasicFiltersTests8.cxx ${BasicFilters_SRCS8})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests8 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests8 OTBBasicFilters OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests9 otbBasicFiltersTests9.cxx ${BasicFilters_SRCS9})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests9 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests9 OTBBasicFilters OTBIO )
ADD_EXECUTABLE(otbBasicFiltersTests10 otbBasicFiltersTests10.cxx ${BasicFilters_SRCS10})
TARGET_LINK_LIBRARIES(otbBasicFiltersTests10 OTBBasicFilters OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters)
TARGET_LINK_LIBRARIES(otbBasicFiltersTests10 OTBBasicFilters OTBIO )
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -130,9 +130,9 @@ SET(BasicChangeDetection_SRCS2
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbChangeDetectionTests1 otbChangeDetectionTests1.cxx ${BasicChangeDetection_SRCS1})
TARGET_LINK_LIBRARIES(otbChangeDetectionTests1 OTBChangeDetection OTBIO OTBCommon gdal ITKIO ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(otbChangeDetectionTests1 OTBChangeDetection OTBIO)
ADD_EXECUTABLE(otbChangeDetectionTests2 otbChangeDetectionTests2.cxx ${BasicChangeDetection_SRCS2})
TARGET_LINK_LIBRARIES(otbChangeDetectionTests2 OTBChangeDetection OTBIO OTBCommon gdal ITKIO ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(otbChangeDetectionTests2 OTBChangeDetection OTBIO)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -613,25 +613,25 @@ INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
# ${TIFF_LIBRARY}
ADD_EXECUTABLE(otbCommonTests1 otbCommonTests1.cxx ${BasicCommon_SRCS1})
TARGET_LINK_LIBRARIES(otbCommonTests1 OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon)
TARGET_LINK_LIBRARIES(otbCommonTests1 OTBIO)
ADD_EXECUTABLE(otbCommonTests2 otbCommonTests2.cxx ${BasicCommon_SRCS2})
TARGET_LINK_LIBRARIES(otbCommonTests2 OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon)
TARGET_LINK_LIBRARIES(otbCommonTests2 OTBIO)
ADD_EXECUTABLE(otbCommonTests3 otbCommonTests3.cxx ${BasicCommon_SRCS3})
TARGET_LINK_LIBRARIES(otbCommonTests3 OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon)
TARGET_LINK_LIBRARIES(otbCommonTests3 OTBIO)
ADD_EXECUTABLE(otbCommonTests4 otbCommonTests4.cxx ${BasicCommon_SRCS4})
TARGET_LINK_LIBRARIES(otbCommonTests4 OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon)
TARGET_LINK_LIBRARIES(otbCommonTests4 OTBIO)
ADD_EXECUTABLE(otbCommonTests5 otbCommonTests5.cxx ${BasicCommon_SRCS5})
TARGET_LINK_LIBRARIES(otbCommonTests5 OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon)
TARGET_LINK_LIBRARIES(otbCommonTests5 OTBIO)
ADD_EXECUTABLE(otbCommonTests6 otbCommonTests6.cxx ${BasicCommon_SRCS6})
TARGET_LINK_LIBRARIES(otbCommonTests6 OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon)
TARGET_LINK_LIBRARIES(otbCommonTests6 OTBIO)
ADD_EXECUTABLE(otbCommonTests7 otbCommonTests7.cxx ${BasicCommon_SRCS7})
TARGET_LINK_LIBRARIES(otbCommonTests7 OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon)
TARGET_LINK_LIBRARIES(otbCommonTests7 OTBIO)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -330,10 +330,10 @@ SET(BasicDisparityMap_SRCS3
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbDisparityMapTests1 otbDisparityMapTests1.cxx ${BasicDisparityMap_SRCS1})
TARGET_LINK_LIBRARIES(otbDisparityMapTests1 OTBIO OTBDisparityMap gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon ITKNumerics itkvnl)
TARGET_LINK_LIBRARIES(otbDisparityMapTests1 OTBIO OTBDisparityMap)
ADD_EXECUTABLE(otbDisparityMapTests2 otbDisparityMapTests2.cxx ${BasicDisparityMap_SRCS2})
TARGET_LINK_LIBRARIES(otbDisparityMapTests2 OTBIO OTBDisparityMap gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon ITKNumerics itkvnl)
TARGET_LINK_LIBRARIES(otbDisparityMapTests2 OTBIO OTBDisparityMap)
ADD_EXECUTABLE(otbDisparityMapTests3 otbDisparityMapTests3.cxx ${BasicDisparityMap_SRCS3})
TARGET_LINK_LIBRARIES(otbDisparityMapTests3 OTBIO OTBDisparityMap gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon ITKNumerics itkvnl)
TARGET_LINK_LIBRARIES(otbDisparityMapTests3 OTBIO OTBDisparityMap)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -925,26 +925,26 @@ otbImageToSIFTKeyPointSetFilterOutputAscii.cxx
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbFeatureExtractionTests1 otbFeatureExtractionTests1.cxx ${BasicFeatureExtraction_SRCS1})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests1 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests1 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests2 otbFeatureExtractionTests2.cxx ${BasicFeatureExtraction_SRCS2})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests2 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests2 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests3 otbFeatureExtractionTests3.cxx ${BasicFeatureExtraction_SRCS3})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests3 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests3 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests4 otbFeatureExtractionTests4.cxx ${BasicFeatureExtraction_SRCS4})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests4 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests4 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests5 otbFeatureExtractionTests5.cxx ${BasicFeatureExtraction_SRCS5})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests5 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests5 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests6 otbFeatureExtractionTests6.cxx ${BasicFeatureExtraction_SRCS6})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests6 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests6 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests7 otbFeatureExtractionTests7.cxx ${BasicFeatureExtraction_SRCS7})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests7 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests7 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests8 otbFeatureExtractionTests8.cxx ${BasicFeatureExtraction_SRCS8})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests8 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests8 OTBFeatureExtraction OTBIO)
ADD_EXECUTABLE(otbFeatureExtractionTests9 otbFeatureExtractionTests9.cxx ${BasicFeatureExtraction_SRCS9})
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests9 OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFeatureExtractionTests9 OTBFeatureExtraction OTBIO)
# ADD_EXECUTABLE(roadDetect roadDetect.cxx)
# TARGET_LINK_LIBRARIES(roadDetect OTBFeatureExtraction OTBCommon OTBIO gdal ITKIO ITKCommon ITKBasicFilters ITKAlgorithms)
# TARGET_LINK_LIBRARIES(roadDetect OTBFeatureExtraction OTBIO)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......
......@@ -78,9 +78,9 @@ SET(Fusion_SRCS2
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbFusionTests1 otbFusionTests1.cxx ${Fusion_SRCS1})
TARGET_LINK_LIBRARIES(otbFusionTests1 OTBFusion OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFusionTests1 OTBFusion OTBIO)
ADD_EXECUTABLE(otbFusionTests2 otbFusionTests2.cxx ${Fusion_SRCS2})
TARGET_LINK_LIBRARIES(otbFusionTests2 OTBFusion OTBCommon OTBIO gdal ITKIO ITKCommon ITKAlgorithms)
TARGET_LINK_LIBRARIES(otbFusionTests2 OTBFusion OTBIO)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......
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