Commit b3ca99fa authored by Emmanuel Christophe's avatar Emmanuel Christophe

COMP: clearing up itk mess (in examples)

parent c2d52881
......@@ -136,6 +136,6 @@ ADD_TEST(MeanShiftVectorImageFilterExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbBasicFiltersExamplesTests otbBasicFiltersExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbBasicFiltersExamplesTests ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbBasicFiltersExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -12,31 +12,31 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX)
ADD_EXECUTABLE(ChangeDetectionFrameworkExample ChangeDetectionFrameworkExample.cxx )
TARGET_LINK_LIBRARIES(ChangeDetectionFrameworkExample OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ChangeDetectionFrameworkExample OTBCommon OTBIO)
ADD_EXECUTABLE(DiffChDet DiffChDet.cxx)
TARGET_LINK_LIBRARIES(DiffChDet OTBIO OTBCommon ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(DiffChDet OTBIO OTBCommon )
ADD_EXECUTABLE(RatioChDet RatioChDet.cxx)
TARGET_LINK_LIBRARIES(RatioChDet OTBIO OTBCommon ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(RatioChDet OTBIO OTBCommon )
ADD_EXECUTABLE(CorrelChDet CorrelChDet.cxx)
TARGET_LINK_LIBRARIES(CorrelChDet OTBIO OTBCommon ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(CorrelChDet OTBIO OTBCommon )
ADD_EXECUTABLE(LHMIChDet LHMIChDet.cxx)
TARGET_LINK_LIBRARIES(LHMIChDet OTBIO OTBCommon ITKCommon ITKIO ITKStatistics)
TARGET_LINK_LIBRARIES(LHMIChDet OTBIO OTBCommon ITKStatistics)
ADD_EXECUTABLE(JHMIChDet JHMIChDet.cxx)
TARGET_LINK_LIBRARIES(JHMIChDet OTBIO OTBCommon ITKCommon ITKIO ITKStatistics)
TARGET_LINK_LIBRARIES(JHMIChDet OTBIO OTBCommon ITKStatistics)
ADD_EXECUTABLE(KullbackLeiblerDistanceChDet KullbackLeiblerDistanceChDet.cxx)
TARGET_LINK_LIBRARIES(KullbackLeiblerDistanceChDet OTBIO OTBCommon ITKCommon ITKIO ITKStatistics)
TARGET_LINK_LIBRARIES(KullbackLeiblerDistanceChDet OTBIO OTBCommon ITKStatistics)
ADD_EXECUTABLE(KullbackLeiblerProfileChDet KullbackLeiblerProfileChDet.cxx)
TARGET_LINK_LIBRARIES(KullbackLeiblerProfileChDet OTBIO OTBCommon ITKCommon ITKIO ITKStatistics)
TARGET_LINK_LIBRARIES(KullbackLeiblerProfileChDet OTBIO OTBCommon ITKStatistics)
ADD_EXECUTABLE(KullbackLeiblerSupervizedDistanceChDet KullbackLeiblerSupervizedDistanceChDet.cxx)
TARGET_LINK_LIBRARIES(KullbackLeiblerSupervizedDistanceChDet OTBIO OTBCommon ITKCommon ITKIO ITKStatistics)
TARGET_LINK_LIBRARIES(KullbackLeiblerSupervizedDistanceChDet OTBIO OTBCommon ITKStatistics)
IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -124,7 +124,7 @@ ADD_TEST(KullbackLeiblerProfileChDetTest ${EXE_TESTS}
)
ADD_EXECUTABLE(otbChangeDetectionExamplesTests otbChangeDetectionExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbChangeDetectionExamplesTests ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbChangeDetectionExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -2,25 +2,25 @@ PROJECT(StatisticsExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(KdTreeBasedKMeansClustering KdTreeBasedKMeansClustering.cxx )
TARGET_LINK_LIBRARIES(KdTreeBasedKMeansClustering OTBCommon ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(KdTreeBasedKMeansClustering OTBCommon ITKStatistics)
ADD_EXECUTABLE(ScalarImageKmeansClassifier ScalarImageKmeansClassifier.cxx )
TARGET_LINK_LIBRARIES(ScalarImageKmeansClassifier OTBIO OTBCommon ITKIO ITKCommon )
TARGET_LINK_LIBRARIES(ScalarImageKmeansClassifier OTBIO OTBCommon )
ADD_EXECUTABLE(KMeansImageClassificationExample KMeansImageClassificationExample.cxx )
TARGET_LINK_LIBRARIES(KMeansImageClassificationExample OTBIO OTBLearning)
ADD_EXECUTABLE(ScalarImageKmeansModelEstimator ScalarImageKmeansModelEstimator.cxx )
TARGET_LINK_LIBRARIES(ScalarImageKmeansModelEstimator OTBIO OTBCommon ITKIO ITKCommon )
TARGET_LINK_LIBRARIES(ScalarImageKmeansModelEstimator OTBIO OTBCommon )
ADD_EXECUTABLE(BayesianPluginClassifier BayesianPluginClassifier.cxx )
TARGET_LINK_LIBRARIES(BayesianPluginClassifier OTBIO OTBCommon ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(BayesianPluginClassifier OTBIO OTBCommon ITKStatistics)
ADD_EXECUTABLE(ExpectationMaximizationMixtureModelEstimator ExpectationMaximizationMixtureModelEstimator.cxx )
TARGET_LINK_LIBRARIES(ExpectationMaximizationMixtureModelEstimator OTBIO OTBCommon ITKCommon ITKStatistics)
TARGET_LINK_LIBRARIES(ExpectationMaximizationMixtureModelEstimator OTBIO OTBCommon ITKStatistics)
ADD_EXECUTABLE(ScalarImageMarkovRandomField1 ScalarImageMarkovRandomField1.cxx )
TARGET_LINK_LIBRARIES(ScalarImageMarkovRandomField1 OTBIO OTBCommon ITKIO ITKCommon )
TARGET_LINK_LIBRARIES(ScalarImageMarkovRandomField1 OTBIO OTBCommon )
ADD_EXECUTABLE(SOMImageClassificationExample SOMImageClassificationExample.cxx )
TARGET_LINK_LIBRARIES(SOMImageClassificationExample OTBIO OTBLearning)
......@@ -29,88 +29,88 @@ ADD_EXECUTABLE(SVMImageClassificationExample2 SVMImageClassifierExample.cxx )
TARGET_LINK_LIBRARIES(SVMImageClassificationExample2 OTBIO OTBLearning)
#ADD_EXECUTABLE( BayesianClassifierInitializer BayesianClassifierInitializer.cxx )
#TARGET_LINK_LIBRARIES(BayesianClassifierInitializer ITKCommon ITKStatistics ITKIO)
#TARGET_LINK_LIBRARIES(BayesianClassifierInitializer ITKStatistics)
#ADD_EXECUTABLE( BayesianClassifier BayesianClassifier.cxx )
#TARGET_LINK_LIBRARIES(BayesianClassifier ITKCommon ITKStatistics ITKIO)
#TARGET_LINK_LIBRARIES(BayesianClassifier ITKStatistics)
#ADD_EXECUTABLE(EuclideanDistance EuclideanDistance.cxx )
#TARGET_LINK_LIBRARIES(EuclideanDistance ITKCommon)
#TARGET_LINK_LIBRARIES(EuclideanDistance)
#ADD_EXECUTABLE(GaussianDensityFunction GaussianDensityFunction.cxx )
#TARGET_LINK_LIBRARIES(GaussianDensityFunction ITKCommon)
#TARGET_LINK_LIBRARIES(GaussianDensityFunction)
#ADD_EXECUTABLE(Histogram Histogram.cxx )
#TARGET_LINK_LIBRARIES(Histogram ITKCommon ITKStatistics)
#TARGET_LINK_LIBRARIES(Histogram ITKStatistics)
#ADD_EXECUTABLE(ImageToListAdaptor ImageToListAdaptor.cxx )
#TARGET_LINK_LIBRARIES(ImageToListAdaptor ITKCommon)
#TARGET_LINK_LIBRARIES(ImageToListAdaptor)
#ADD_EXECUTABLE(KdTree KdTree.cxx )
#TARGET_LINK_LIBRARIES(KdTree ITKCommon)
#TARGET_LINK_LIBRARIES(KdTree)
#ADD_EXECUTABLE(ListSample ListSample.cxx )
#TARGET_LINK_LIBRARIES(ListSample ITKCommon)
#TARGET_LINK_LIBRARIES(ListSample)
#ADD_EXECUTABLE(ListSampleToHistogramFilter ListSampleToHistogramFilter.cxx )
#TARGET_LINK_LIBRARIES(ListSampleToHistogramFilter ITKCommon ITKStatistics)
#TARGET_LINK_LIBRARIES(ListSampleToHistogramFilter ITKStatistics)
#ADD_EXECUTABLE(ListSampleToHistogramGenerator ListSampleToHistogramGenerator.cxx )
#TARGET_LINK_LIBRARIES(ListSampleToHistogramGenerator ITKCommon ITKStatistics)
#TARGET_LINK_LIBRARIES(ListSampleToHistogramGenerator ITKStatistics)
#ADD_EXECUTABLE(MaximumDecisionRule MaximumDecisionRule.cxx )
#TARGET_LINK_LIBRARIES(MaximumDecisionRule ITKCommon)
#TARGET_LINK_LIBRARIES(MaximumDecisionRule)
#ADD_EXECUTABLE(MaximumRatioDecisionRule MaximumRatioDecisionRule.cxx )
#TARGET_LINK_LIBRARIES(MaximumRatioDecisionRule ITKCommon)
#TARGET_LINK_LIBRARIES(MaximumRatioDecisionRule)
#ADD_EXECUTABLE(MembershipSample MembershipSample.cxx )
#TARGET_LINK_LIBRARIES(MembershipSample ITKCommon)
#TARGET_LINK_LIBRARIES(MembershipSample)
#ADD_EXECUTABLE(MinimumDecisionRule MinimumDecisionRule.cxx )
#TARGET_LINK_LIBRARIES(MinimumDecisionRule ITKCommon)
#TARGET_LINK_LIBRARIES(MinimumDecisionRule)
#ADD_EXECUTABLE(NeighborhoodSampler NeighborhoodSampler.cxx )
#TARGET_LINK_LIBRARIES(NeighborhoodSampler ITKCommon)
#TARGET_LINK_LIBRARIES(NeighborhoodSampler)
#ADD_EXECUTABLE(NormalVariateGenerator NormalVariateGenerator.cxx )
#TARGET_LINK_LIBRARIES(NormalVariateGenerator ITKCommon ITKStatistics)
#TARGET_LINK_LIBRARIES(NormalVariateGenerator ITKStatistics)
#ADD_EXECUTABLE(PointSetToListAdaptor PointSetToListAdaptor.cxx )
#TARGET_LINK_LIBRARIES(PointSetToListAdaptor ITKCommon)
#TARGET_LINK_LIBRARIES(PointSetToListAdaptor)
#ADD_EXECUTABLE(NormalVariateGenerator NormalVariateGenerator.cxx )
#TARGET_LINK_LIBRARIES(NormalVariateGenerator ITKCommon)
#TARGET_LINK_LIBRARIES(NormalVariateGenerator)
#ADD_EXECUTABLE(SampleStatistics SampleStatistics.cxx )
#TARGET_LINK_LIBRARIES(SampleStatistics ITKCommon)
#TARGET_LINK_LIBRARIES(SampleStatistics)
#ADD_EXECUTABLE(SampleToHistogramProjectionFilter SampleToHistogramProjectionFilter.cxx )
#TARGET_LINK_LIBRARIES(SampleToHistogramProjectionFilter ITKCommon
#TARGET_LINK_LIBRARIES(SampleToHistogramProjectionFilter
# ITKStatistics)
#ADD_EXECUTABLE(SampleSorting SampleSorting.cxx )
#TARGET_LINK_LIBRARIES(SampleSorting ITKCommon)
#TARGET_LINK_LIBRARIES(SampleSorting)
#ADD_EXECUTABLE(WeightedSampleStatistics WeightedSampleStatistics.cxx )
#TARGET_LINK_LIBRARIES(WeightedSampleStatistics ITKCommon)
#TARGET_LINK_LIBRARIES(WeightedSampleStatistics)
#ADD_EXECUTABLE(ImageHistogram1 ImageHistogram1.cxx )
#TARGET_LINK_LIBRARIES(ImageHistogram1 ITKIO ITKCommon ITKStatistics )
#TARGET_LINK_LIBRARIES(ImageHistogram1 ITKStatistics )
#ADD_EXECUTABLE(ImageHistogram2 ImageHistogram2.cxx )
#TARGET_LINK_LIBRARIES(ImageHistogram2 ITKIO ITKCommon ITKStatistics )
#TARGET_LINK_LIBRARIES(ImageHistogram2 ITKStatistics )
#ADD_EXECUTABLE(ImageHistogram3 ImageHistogram3.cxx )
#TARGET_LINK_LIBRARIES(ImageHistogram3 ITKIO ITKCommon ITKStatistics )
#TARGET_LINK_LIBRARIES(ImageHistogram3 ITKStatistics )
#ADD_EXECUTABLE(ImageHistogram4 ImageHistogram4.cxx )
#TARGET_LINK_LIBRARIES(ImageHistogram4 ITKIO ITKCommon ITKStatistics )
#TARGET_LINK_LIBRARIES(ImageHistogram4 ITKStatistics )
#ADD_EXECUTABLE(ImageEntropy1 ImageEntropy1.cxx )
#TARGET_LINK_LIBRARIES(ImageEntropy1 ITKIO ITKCommon ITKStatistics)
#TARGET_LINK_LIBRARIES(ImageEntropy1 ITKStatistics)
......@@ -155,6 +155,6 @@ ADD_TEST(ScalarImageKmeansClassifierTest ${EXE_TESTS}
ADD_EXECUTABLE(otbClassificationExamplesTests otbClassificationExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbClassificationExamplesTests ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbClassificationExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -2,6 +2,6 @@ PROJECT(ContainersExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(TreeContainer TreeContainer.cxx )
TARGET_LINK_LIBRARIES(TreeContainer ITKCommon)
TARGET_LINK_LIBRARIES(TreeContainer)
......@@ -2,43 +2,43 @@ PROJECT(ImageExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(Image1 Image1.cxx )
TARGET_LINK_LIBRARIES(Image1 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(Image1 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(Image2 Image2.cxx )
TARGET_LINK_LIBRARIES(Image2 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(Image2 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(Image3 Image3.cxx )
TARGET_LINK_LIBRARIES(Image3 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(Image3 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(Image4 Image4.cxx )
TARGET_LINK_LIBRARIES(Image4 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(Image4 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(Image5 Image5.cxx )
TARGET_LINK_LIBRARIES(Image5 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(Image5 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(Image6 Image6.cxx )
TARGET_LINK_LIBRARIES(Image6 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(Image6 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(RGBImage RGBImage.cxx )
TARGET_LINK_LIBRARIES(RGBImage OTBCommon OTBIO ITKCommon ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(RGBImage OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(VectorImage VectorImage.cxx )
TARGET_LINK_LIBRARIES(VectorImage OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(VectorImage OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(ImageAdaptor1 ImageAdaptor1.cxx )
TARGET_LINK_LIBRARIES(ImageAdaptor1 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(ImageAdaptor1 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(ImageAdaptor2 ImageAdaptor2.cxx )
TARGET_LINK_LIBRARIES(ImageAdaptor2 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(ImageAdaptor2 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(ImageAdaptor3 ImageAdaptor3.cxx )
TARGET_LINK_LIBRARIES(ImageAdaptor3 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(ImageAdaptor3 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(ImageAdaptor4 ImageAdaptor4.cxx )
TARGET_LINK_LIBRARIES(ImageAdaptor4 OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(ImageAdaptor4 OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(ImageListExample ImageListExample.cxx )
TARGET_LINK_LIBRARIES(ImageListExample OTBCommon ITKCommon OTBIO ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(ImageListExample OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -99,6 +99,6 @@ ADD_TEST(Image6Test ${EXE_TESTS}
ADD_EXECUTABLE(otbImageExamplesTests otbImageExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbImageExamplesTests ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(otbImageExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -3,23 +3,23 @@ INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(Mesh1 Mesh1.cxx )
TARGET_LINK_LIBRARIES(Mesh1 ITKCommon)
TARGET_LINK_LIBRARIES(Mesh1)
ADD_EXECUTABLE(Mesh2 Mesh2.cxx )
TARGET_LINK_LIBRARIES(Mesh2 ITKCommon)
TARGET_LINK_LIBRARIES(Mesh2)
ADD_EXECUTABLE(Mesh3 Mesh3.cxx )
TARGET_LINK_LIBRARIES(Mesh3 ITKCommon)
TARGET_LINK_LIBRARIES(Mesh3)
ADD_EXECUTABLE(PointSet1 PointSet1.cxx )
TARGET_LINK_LIBRARIES(PointSet1 ITKCommon)
TARGET_LINK_LIBRARIES(PointSet1)
ADD_EXECUTABLE(PointSet2 PointSet2.cxx )
TARGET_LINK_LIBRARIES(PointSet2 ITKCommon)
TARGET_LINK_LIBRARIES(PointSet2)
ADD_EXECUTABLE(PointSet3 PointSet3.cxx )
TARGET_LINK_LIBRARIES(PointSet3 ITKCommon)
TARGET_LINK_LIBRARIES(PointSet3)
ADD_EXECUTABLE(PointSetWithVectors PointSetWithVectors.cxx )
TARGET_LINK_LIBRARIES(PointSetWithVectors ITKCommon)
TARGET_LINK_LIBRARIES(PointSetWithVectors)
......@@ -2,4 +2,4 @@ PROJECT(PathExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(PolyLineParametricPath1 PolyLineParametricPath1.cxx )
TARGET_LINK_LIBRARIES(PolyLineParametricPath1 OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(PolyLineParametricPath1 OTBCommon OTBIO)
......@@ -2,15 +2,15 @@ PROJECT(DisparityMapExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(SimpleDisparityMapEstimationExample SimpleDisparityMapEstimationExample.cxx )
TARGET_LINK_LIBRARIES(SimpleDisparityMapEstimationExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon
TARGET_LINK_LIBRARIES(SimpleDisparityMapEstimationExample OTBFeatureExtraction OTBCommon OTBIO
ITKIO)
ADD_EXECUTABLE(NCCRegistrationFilterExample NCCRegistrationFilterExample.cxx )
TARGET_LINK_LIBRARIES(NCCRegistrationFilterExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon
TARGET_LINK_LIBRARIES(NCCRegistrationFilterExample OTBFeatureExtraction OTBCommon OTBIO
ITKIO)
ADD_EXECUTABLE(SIFTDisparityMapEstimation SIFTDisparityMapEstimation.cxx )
TARGET_LINK_LIBRARIES(SIFTDisparityMapEstimation OTBFeatureExtraction OTBCommon OTBIO ITKCommon
TARGET_LINK_LIBRARIES(SIFTDisparityMapEstimation OTBFeatureExtraction OTBCommon OTBIO
ITKIO)
......@@ -44,6 +44,6 @@ ADD_TEST(SimpleDisparityMapEstimationExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbDisparityMapExamplesTests otbDisparityMapExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbDisparityMapExamplesTests ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbDisparityMapExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -2,48 +2,48 @@ PROJECT(FeatureExtractionExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(AlignmentsExample AlignmentsExample.cxx )
TARGET_LINK_LIBRARIES(AlignmentsExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon
TARGET_LINK_LIBRARIES(AlignmentsExample OTBFeatureExtraction OTBCommon OTBIO
ITKIO)
ADD_EXECUTABLE(TouziEdgeDetectorExample TouziEdgeDetectorExample.cxx )
TARGET_LINK_LIBRARIES(TouziEdgeDetectorExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(TouziEdgeDetectorExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(HarrisExample HarrisExample.cxx )
TARGET_LINK_LIBRARIES(HarrisExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(HarrisExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(ComplexMomentImageExample ComplexMomentImageExample.cxx )
TARGET_LINK_LIBRARIES(ComplexMomentImageExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ComplexMomentImageExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(ComplexMomentPathExample ComplexMomentPathExample.cxx )
TARGET_LINK_LIBRARIES(ComplexMomentPathExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ComplexMomentPathExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(HuMomentImageExample HuMomentImageExample.cxx )
TARGET_LINK_LIBRARIES(HuMomentImageExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(HuMomentImageExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(FlusserMomentImageExample FlusserMomentImageExample.cxx )
TARGET_LINK_LIBRARIES(FlusserMomentImageExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(FlusserMomentImageExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(RatioLineDetectorExample RatioLineDetectorExample.cxx )
TARGET_LINK_LIBRARIES(RatioLineDetectorExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(RatioLineDetectorExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(CorrelationLineDetectorExample CorrelationLineDetectorExample.cxx )
TARGET_LINK_LIBRARIES(CorrelationLineDetectorExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(CorrelationLineDetectorExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(AssymmetricFusionOfLineDetectorExample
AssymmetricFusionOfLineDetectorExample.cxx)
TARGET_LINK_LIBRARIES(AssymmetricFusionOfLineDetectorExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(AssymmetricFusionOfLineDetectorExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(LocalHoughExample LocalHoughExample.cxx )
TARGET_LINK_LIBRARIES(LocalHoughExample ITKIO OTBIO OTBFeatureExtraction OTBCommon ITKCommon)
TARGET_LINK_LIBRARIES(LocalHoughExample OTBIO OTBFeatureExtraction OTBCommon)
ADD_EXECUTABLE(ExtractSegmentsByStepsExample
ExtractSegmentsByStepsExample.cxx)
TARGET_LINK_LIBRARIES(ExtractSegmentsByStepsExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ExtractSegmentsByStepsExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(ExtractSegmentsExample
ExtractSegmentsExample.cxx)
TARGET_LINK_LIBRARIES(ExtractSegmentsExample OTBFeatureExtraction OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ExtractSegmentsExample OTBFeatureExtraction OTBCommon OTBIO)
ADD_EXECUTABLE(ExtractRoadByStepsExample ExtractRoadByStepsExample.cxx)
TARGET_LINK_LIBRARIES(ExtractRoadByStepsExample OTBIO OTBCommon OTBFeatureExtraction
......@@ -309,10 +309,10 @@ ADD_TEST(CloudDetectionExampleTest ${EXE_TESTS2}
)
ADD_EXECUTABLE(otbFeatureExtractionExamplesTests1 otbFeatureExtractionExamplesTests1.cxx)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests1 ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests1 ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
ADD_EXECUTABLE(otbFeatureExtractionExamplesTests2 otbFeatureExtractionExamplesTests2.cxx)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests2 ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
TARGET_LINK_LIBRARIES(otbFeatureExtractionExamplesTests2 ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
This diff is collapsed.
......@@ -5,10 +5,10 @@ SET(FUSION_EXAMPLES ${CXX_TEST_PATH}/otbFusionExamplesTests)
ADD_EXECUTABLE(BayesianFusionImageFilter BayesianFusionImageFilter.cxx )
TARGET_LINK_LIBRARIES(BayesianFusionImageFilter OTBFusion OTBCommon OTBIO ITKNumerics ITKIO)
TARGET_LINK_LIBRARIES(BayesianFusionImageFilter OTBFusion OTBCommon OTBIO ITKNumerics)
ADD_EXECUTABLE(PanSharpeningExample PanSharpeningExample.cxx )
TARGET_LINK_LIBRARIES(PanSharpeningExample OTBFusion OTBCommon OTBIO ITKNumerics ITKIO)
TARGET_LINK_LIBRARIES(PanSharpeningExample OTBFusion OTBCommon OTBIO ITKNumerics)
IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -53,6 +53,6 @@ ADD_TEST(PanSharpeningExampleTest ${EXE_TESTS}
ADD_EXECUTABLE(otbFusionExamplesTests otbFusionExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbFusionExamplesTests ITKIO ITKAlgorithms ITKStatistics ITKNumerics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion)
TARGET_LINK_LIBRARIES(otbFusionExamplesTests ITKAlgorithms ITKStatistics ITKNumerics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBFusion)
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
PROJECT(IOExamples)
ADD_EXECUTABLE(ImageReadWrite ImageReadWrite.cxx )
TARGET_LINK_LIBRARIES(ImageReadWrite OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ImageReadWrite OTBCommon OTBIO)
ADD_EXECUTABLE(StreamingImageReadWrite StreamingImageReadWrite.cxx )
TARGET_LINK_LIBRARIES(StreamingImageReadWrite OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(StreamingImageReadWrite OTBCommon OTBIO)
ADD_EXECUTABLE(ExplicitStreamingExample ExplicitStreamingExample.cxx )
TARGET_LINK_LIBRARIES(ExplicitStreamingExample OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ExplicitStreamingExample OTBCommon OTBIO)
ADD_EXECUTABLE(ImageReadCastWrite ImageReadCastWrite.cxx )
TARGET_LINK_LIBRARIES(ImageReadCastWrite OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ImageReadCastWrite OTBCommon OTBIO)
#ADD_EXECUTABLE(ImageReadExtractWrite ImageReadExtractWrite.cxx )
#TARGET_LINK_LIBRARIES(ImageReadExtractWrite OTBCommon OTBIO ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(ImageReadExtractWrite OTBCommon OTBIO)
ADD_EXECUTABLE(ImageReadRegionOfInterestWrite ImageReadRegionOfInterestWrite.cxx )
TARGET_LINK_LIBRARIES(ImageReadRegionOfInterestWrite OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ImageReadRegionOfInterestWrite OTBCommon OTBIO)
ADD_EXECUTABLE(RGBImageReadWrite RGBImageReadWrite.cxx )
TARGET_LINK_LIBRARIES(RGBImageReadWrite OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(RGBImageReadWrite OTBCommon OTBIO)
#ADD_EXECUTABLE(CovariantVectorImageWrite CovariantVectorImageWrite.cxx )
#TARGET_LINK_LIBRARIES(CovariantVectorImageWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(CovariantVectorImageWrite)
#ADD_EXECUTABLE(CovariantVectorImageRead CovariantVectorImageRead.cxx )
#TARGET_LINK_LIBRARIES(CovariantVectorImageRead ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(CovariantVectorImageRead)
#ADD_EXECUTABLE(CovariantVectorImageExtractComponent CovariantVectorImageExtractComponent.cxx )
#TARGET_LINK_LIBRARIES(CovariantVectorImageExtractComponent ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(CovariantVectorImageExtractComponent)
#ADD_EXECUTABLE(VectorImageReadWrite VectorImageReadWrite.cxx )
#TARGET_LINK_LIBRARIES(VectorImageReadWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(VectorImageReadWrite)
ADD_EXECUTABLE(ComplexImageReadWrite ComplexImageReadWrite.cxx )
TARGET_LINK_LIBRARIES(ComplexImageReadWrite OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ComplexImageReadWrite OTBCommon OTBIO)
ADD_EXECUTABLE(MultibandImageReadWrite MultibandImageReadWrite.cxx )
TARGET_LINK_LIBRARIES(MultibandImageReadWrite OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(MultibandImageReadWrite OTBCommon OTBIO)
ADD_EXECUTABLE(ExtractROI ExtractROI.cxx )
TARGET_LINK_LIBRARIES(ExtractROI OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ExtractROI OTBCommon OTBIO)
ADD_EXECUTABLE(ImageSeriesIOExample ImageSeriesIOExample.cxx )
TARGET_LINK_LIBRARIES(ImageSeriesIOExample OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(ImageSeriesIOExample OTBCommon OTBIO)
ADD_EXECUTABLE(MetadataExample MetadataExample.cxx )
TARGET_LINK_LIBRARIES(MetadataExample OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(MetadataExample OTBCommon OTBIO)
ADD_EXECUTABLE(DXFReaderExample DXFReaderExample.cxx )
TARGET_LINK_LIBRARIES(DXFReaderExample OTBCommon OTBIO ITKCommon ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(DXFReaderExample OTBCommon OTBIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(VectorDataIOExample VectorDataIOExample.cxx )
TARGET_LINK_LIBRARIES(VectorDataIOExample OTBCommon OTBIO ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(VectorDataIOExample OTBCommon OTBIO)
ADD_EXECUTABLE(DEMToImageGenerator DEMToImageGenerator.cxx )
TARGET_LINK_LIBRARIES(DEMToImageGenerator OTBProjections OTBIO OTBCommon ITKCommon ITKIO otbossim )
TARGET_LINK_LIBRARIES(DEMToImageGenerator OTBProjections OTBIO OTBCommon otbossim )
ADD_EXECUTABLE(DEMToOrthoImageGenerator DEMToOrthoImageGenerator.cxx )
TARGET_LINK_LIBRARIES(DEMToOrthoImageGenerator OTBProjections OTBIO OTBCommon ITKCommon ITKIO otbossim )
TARGET_LINK_LIBRARIES(DEMToOrthoImageGenerator OTBProjections OTBIO OTBCommon otbossim )
ADD_EXECUTABLE(LidarReaderExample LidarReaderExample.cxx )
TARGET_LINK_LIBRARIES(LidarReaderExample OTBIO OTBCommon ITKCommon ITKIO otbossim )
TARGET_LINK_LIBRARIES(LidarReaderExample OTBIO OTBCommon otbossim )
IF(ITK_USE_REVIEW)
ADD_EXECUTABLE(LidarToImageExample LidarToImageExample.cxx )
TARGET_LINK_LIBRARIES(LidarToImageExample OTBIO OTBCommon ITKCommon ITKIO otbossim )
TARGET_LINK_LIBRARIES(LidarToImageExample OTBIO OTBCommon otbossim )
ENDIF(ITK_USE_REVIEW)
IF( OTB_USE_CURL )
......@@ -76,43 +76,43 @@ ENDIF( OTB_USE_CURL )
#ADD_EXECUTABLE(ImageReadExportVTK ImageReadExportVTK.cxx )
#TARGET_LINK_LIBRARIES(ImageReadExportVTK ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(ImageReadExportVTK)
#ADD_EXECUTABLE(RGBImageSeriesReadWrite RGBImageSeriesReadWrite.cxx )
#TARGET_LINK_LIBRARIES(RGBImageSeriesReadWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(RGBImageSeriesReadWrite)
#ADD_EXECUTABLE(ImageSeriesReadWrite ImageSeriesReadWrite.cxx )
#TARGET_LINK_LIBRARIES(ImageSeriesReadWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(ImageSeriesReadWrite)
#ADD_EXECUTABLE(ImageReadImageSeriesWrite ImageReadImageSeriesWrite.cxx )
#TARGET_LINK_LIBRARIES(ImageReadImageSeriesWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(ImageReadImageSeriesWrite)
#ADD_EXECUTABLE(DicomSeriesReadImageWrite DicomSeriesReadImageWrite.cxx )
#TARGET_LINK_LIBRARIES(DicomSeriesReadImageWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomSeriesReadImageWrite)
#ADD_EXECUTABLE(DicomSeriesReadImageWrite2 DicomSeriesReadImageWrite2.cxx )
#TARGET_LINK_LIBRARIES(DicomSeriesReadImageWrite2 ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomSeriesReadImageWrite2)
#ADD_EXECUTABLE(DicomSeriesReadPrintTags DicomSeriesReadPrintTags.cxx )
#TARGET_LINK_LIBRARIES(DicomSeriesReadPrintTags ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomSeriesReadPrintTags)
#ADD_EXECUTABLE(DicomImageReadPrintTags DicomImageReadPrintTags.cxx )
#TARGET_LINK_LIBRARIES(DicomImageReadPrintTags ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomImageReadPrintTags)
#ADD_EXECUTABLE(DicomImageReadWrite DicomImageReadWrite.cxx )
#TARGET_LINK_LIBRARIES(DicomImageReadWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomImageReadWrite)
#ADD_EXECUTABLE(DicomImageReadChangeHeaderWrite DicomImageReadChangeHeaderWrite.cxx )
#TARGET_LINK_LIBRARIES(DicomImageReadChangeHeaderWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomImageReadChangeHeaderWrite)
#ADD_EXECUTABLE(DicomSeriesReadSeriesWrite DicomSeriesReadSeriesWrite.cxx )
#TARGET_LINK_LIBRARIES(DicomSeriesReadSeriesWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomSeriesReadSeriesWrite)
#ADD_EXECUTABLE(DicomPrintPatientInformation DicomPrintPatientInformation.cxx )
#TARGET_LINK_LIBRARIES(DicomPrintPatientInformation ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(DicomPrintPatientInformation)
#ADD_EXECUTABLE(TransformReadWrite TransformReadWrite.cxx )
#TARGET_LINK_LIBRARIES(TransformReadWrite ITKCommon ITKIO)
#TARGET_LINK_LIBRARIES(TransformReadWrite)
IF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -202,7 +202,7 @@ ENDIF( OTB_USE_CURL )
ADD_EXECUTABLE(otbIOExamplesTests1 otbIOExamplesTests1.cxx)
TARGET_LINK_LIBRARIES(otbIOExamplesTests1 otbossim OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBProjections ITKIO ITKAlgorithms ITKStatistics ITKCommon ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(otbIOExamplesTests1 otbossim OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale OTBProjections ITKAlgorithms ITKStatistics ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
IF( OTB_USE_CURL )
ADD_EXECUTABLE(otbIOExamplesTests2 otbIOExamplesTests2.cxx)
......
......@@ -10,4 +10,4 @@ ENDIF(OTB_FOUND)
ADD_EXECUTABLE(HelloWorld HelloWorld.cxx )
TARGET_LINK_LIBRARIES(HelloWorld ITKIO OTBIO OTBCommon ITKCommon OTBLearning)
TARGET_LINK_LIBRARIES(HelloWorld OTBIO OTBCommon OTBLearning)
......@@ -5,50 +5,50 @@ PROJECT(IteratorExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(ImageRandomConstIteratorWithIndex ImageRandomConstIteratorWithIndex.cxx)
TARGET_LINK_LIBRARIES(ImageRandomConstIteratorWithIndex OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ImageRandomConstIteratorWithIndex OTBIO OTBCommon )
ADD_EXECUTABLE(NeighborhoodIterators4 NeighborhoodIterators4.cxx)
TARGET_LINK_LIBRARIES(NeighborhoodIterators4 OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(NeighborhoodIterators4 OTBIO OTBCommon )
ADD_EXECUTABLE(NeighborhoodIterators5 NeighborhoodIterators5.cxx)
TARGET_LINK_LIBRARIES(NeighborhoodIterators5 OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(NeighborhoodIterators5 OTBIO OTBCommon )
IF(NOT BORLAND)
ADD_EXECUTABLE(NeighborhoodIterators1 NeighborhoodIterators1.cxx)
TARGET_LINK_LIBRARIES(NeighborhoodIterators1 OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(NeighborhoodIterators1 OTBIO OTBCommon )
ADD_EXECUTABLE(NeighborhoodIterators2 NeighborhoodIterators2.cxx)
TARGET_LINK_LIBRARIES(NeighborhoodIterators2 OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(NeighborhoodIterators2 OTBIO OTBCommon )
ADD_EXECUTABLE(NeighborhoodIterators3 NeighborhoodIterators3.cxx)
TARGET_LINK_LIBRARIES(NeighborhoodIterators3 OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(NeighborhoodIterators3 OTBIO OTBCommon )
ADD_EXECUTABLE(NeighborhoodIterators6 NeighborhoodIterators6.cxx)
TARGET_LINK_LIBRARIES(NeighborhoodIterators6 ITKAlgorithms ITKBasicFilters OTBIO OTBCommon ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(NeighborhoodIterators6 ITKAlgorithms ITKBasicFilters OTBIO OTBCommon ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(ImageRegionIteratorWithIndex ImageRegionIteratorWithIndex.cxx)
TARGET_LINK_LIBRARIES(ImageRegionIteratorWithIndex OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ImageRegionIteratorWithIndex OTBIO OTBCommon )
ADD_EXECUTABLE(ImageRegionIterator ImageRegionIterator.cxx)
TARGET_LINK_LIBRARIES(ImageRegionIterator OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ImageRegionIterator OTBIO OTBCommon )
ADD_EXECUTABLE(ImageLinearIteratorWithIndex2 ImageLinearIteratorWithIndex2.cxx)
TARGET_LINK_LIBRARIES(ImageLinearIteratorWithIndex2 OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ImageLinearIteratorWithIndex2 OTBIO OTBCommon )
ADD_EXECUTABLE(ImageLinearIteratorWithIndex ImageLinearIteratorWithIndex.cxx)
TARGET_LINK_LIBRARIES(ImageLinearIteratorWithIndex OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ImageLinearIteratorWithIndex OTBIO OTBCommon )
ADD_EXECUTABLE(ImageSliceIteratorWithIndex ImageSliceIteratorWithIndex.cxx)
TARGET_LINK_LIBRARIES(ImageSliceIteratorWithIndex OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ImageSliceIteratorWithIndex OTBIO OTBCommon )
ADD_EXECUTABLE(ShapedNeighborhoodIterators1 ShapedNeighborhoodIterators1.cxx)
TARGET_LINK_LIBRARIES(ShapedNeighborhoodIterators1 ITKAlgorithms ITKBasicFilters OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ShapedNeighborhoodIterators1 ITKAlgorithms ITKBasicFilters OTBIO OTBCommon )
ADD_EXECUTABLE(ShapedNeighborhoodIterators2 ShapedNeighborhoodIterators2.cxx)
TARGET_LINK_LIBRARIES(ShapedNeighborhoodIterators2 ITKAlgorithms ITKBasicFilters OTBIO OTBCommon ITKIO )
TARGET_LINK_LIBRARIES(ShapedNeighborhoodIterators2 ITKAlgorithms ITKBasicFilters OTBIO OTBCommon )
ADD_EXECUTABLE(IteratorsExamples IteratorsExamples.cxx )
TARGET_LINK_LIBRARIES(IteratorsExamples OTBIO OTBCommon ITKIO ITKBasicFilters )
TARGET_LINK_LIBRARIES(IteratorsExamples OTBIO OTBCommon ITKBasicFilters )
ENDIF(NOT BORLAND)
......@@ -194,6 +194,6 @@ ADD_TEST(ShapedNeighborhoodIterators2Test ${EXE_TESTS}
ADD_EXECUTABLE(otbIteratorsExamplesTests otbIteratorsExamplesTests.cxx)
TARGET_LINK_LIBRARIES(otbIteratorsExamplesTests ITKIO ITKAlgorithms ITKStatistics ITKCommon OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
TARGET_LINK_LIBRARIES(otbIteratorsExamplesTests ITKAlgorithms ITKStatistics OTBBasicFilters OTBCommon OTBDisparityMap OTBIO OTBSpatialReasoning OTBChangeDetection OTBFeatureExtraction OTBLearning OTBMultiScale ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -2,47 +2,47 @@ PROJECT(LearningExamples)
INCLUDE_REGULAR_EXPRESSION("^.*$")
ADD_EXECUTABLE(GenerateTrainingImageExample GenerateTrainingImageExample.cxx )
TARGET_LINK_LIBRARIES(GenerateTrainingImageExample OTBCommon OTBIO OTBLearning ITKCommon ITKIO)
TARGET_LINK_LIBRARIES(GenerateTrainingImageExample OTBCommon OTBIO OTBLearning)
ADD_EXECUTABLE(SVMPointSetExample SVMPointSetExample.cxx )
TARGET_LINK_LIBRARIES(SVMPointSetExample ITKIO OTBIO OTBCommon
TARGET_LINK_LIBRARIES(SVMPointSetExample OTBIO OTBCommon
ITKCommon OTBLearning)
ADD_EXECUTABLE(SVMPointSetModelEstimatorExample SVMPointSetModelEstimatorExample.cxx )
TARGET_LINK_LIBRARIES(SVMPointSetModelEstimatorExample ITKIO OTBIO
OTBCommon ITKCommon OTBLearning)
TARGET_LINK_LIBRARIES(SVMPointSetModelEstimatorExample OTBIO
OTBCommon OTBLearning)
ADD_EXECUTABLE(SVMImageModelEstimatorExample SVMImageModelEstimatorExample.cxx )
TARGET_LINK_LIBRARIES(SVMImageModelEstimatorExample ITKIO OTBIO
OTBCommon ITKCommon OTBLearning)
TARGET_LINK_LIBRARIES(SVMImageModelEstimatorExample OTBIO
OTBCommon OTBLearning)
ADD_EXECUTABLE(SVMPointSetClassificationExample SVMPointSetClassificationExample.cxx )
TARGET_LINK_LIBRARIES(SVMPointSetClassificationExample ITKIO OTBIO
OTBCommon ITKCommon OTBLearning)
TARGET_LINK_LIBRARIES(SVMPointSetClassificationExample OTBIO
OTBCommon OTBLearning)
ADD_EXECUTABLE(SVMImageClassificationExample SVMImageClassificationExample.cxx )
TARGET_LINK_LIBRARIES(SVMImageClassificationExample ITKIO OTBIO
OTBCommon ITKCommon OTBLearning)
TARGET_LINK_LIBRARIES(SVMImageClassificationExample OTBIO
OTBCommon OTBLearning)
ADD_EXECUTABLE(SVMImageEstimatorClassificationMultiExample SVMImageEstimatorClassificationMultiExample.cxx )
TARGET_LINK_LIBRARIES(SVMImageEstimatorClassificationMultiExample ITKIO OTBIO
OTBCommon ITKCommon OTBLearning)
TARGET_LINK_LIBRARIES(SVMImageEstimatorClassificationMultiExample OTBIO
OTBCommon OTBLearning)
ADD_EXECUTABLE(SOMExample SOMExample.cxx )
TARGET_LINK_LIBRARIES(SOMExample ITKIO OTBIO OTBCommon ITKCommon OTBLearning)
TARGET_LINK_LIBRARIES(SOMExample OTBIO OTBCommon OTBLearning)