Commit 4c5b5326 authored by Julien Michel's avatar Julien Michel
Browse files

COMP: Addding missing kml link to OTBIO. Beginning to refactor the TARGET_LINK_LIBARIES.

parent afb17abb
......@@ -27,7 +27,7 @@ ENDIF(OTB_COMPILE_JPEG2000)
ADD_LIBRARY(OTBIO ${OTBIO_SRCS})
TARGET_LINK_LIBRARIES (OTBIO gdal OTBCommon ITKIO ITKCommon otbossim dxf )
TARGET_LINK_LIBRARIES (OTBIO gdal OTBCommon ITKIO ITKCommon otbossim dxf otbkml)
IF( OTB_COMPILE_JPEG2000 )
TARGET_LINK_LIBRARIES (OTBIO otbopenjpeg)
ENDIF( OTB_COMPILE_JPEG2000 )
......
......@@ -53,7 +53,7 @@ ADD_EXECUTABLE(DXFReaderExample DXFReaderExample.cxx )
TARGET_LINK_LIBRARIES(DXFReaderExample OTBCommon OTBIO ITKCommon ITKIO ${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES})
ADD_EXECUTABLE(VectorDataIOExample VectorDataIOExample.cxx )
TARGET_LINK_LIBRARIES(VectorDataIOExample OTBCommon OTBIO ITKCommon ITKIO otbkml)
TARGET_LINK_LIBRARIES(VectorDataIOExample OTBCommon OTBIO ITKCommon ITKIO)
ADD_EXECUTABLE(DEMToImageGenerator DEMToImageGenerator.cxx )
TARGET_LINK_LIBRARIES(DEMToImageGenerator OTBProjections OTBIO OTBCommon ITKCommon ITKIO otbossim )
......
......@@ -1645,40 +1645,40 @@ otbImageFileReaderRADComplexFloat.cxx
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbIOTests1 otbIOTests1.cxx ${BasicIO_SRCS1})
TARGET_LINK_LIBRARIES(otbIOTests1 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests1 OTBIO)
ADD_EXECUTABLE(otbIOTests2 otbIOTests2.cxx ${BasicIO_SRCS2})
TARGET_LINK_LIBRARIES(otbIOTests2 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests2 OTBIO )
ADD_EXECUTABLE(otbIOTests3 otbIOTests3.cxx ${BasicIO_SRCS3})
TARGET_LINK_LIBRARIES(otbIOTests3 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests3 OTBIO )
ADD_EXECUTABLE(otbIOTests4 otbIOTests4.cxx ${BasicIO_SRCS2})
TARGET_LINK_LIBRARIES(otbIOTests4 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests4 OTBIO )
ADD_EXECUTABLE(otbIOTests5 otbIOTests5.cxx ${BasicIO_SRCS5})
TARGET_LINK_LIBRARIES(otbIOTests5 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests5 OTBIO )
ADD_EXECUTABLE(otbIOTests6 otbIOTests6.cxx ${BasicIO_SRCS6})
TARGET_LINK_LIBRARIES(otbIOTests6 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests6 OTBIO )
ADD_EXECUTABLE(otbIOTests7 otbIOTests7.cxx ${BasicIO_SRCS7})
TARGET_LINK_LIBRARIES(otbIOTests7 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests7 OTBIO )
ADD_EXECUTABLE(otbIOTests8 otbIOTests8.cxx ${BasicIO_SRCS8})
TARGET_LINK_LIBRARIES(otbIOTests8 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests8 OTBIO )
ADD_EXECUTABLE(otbIOTests9 otbIOTests9.cxx ${BasicIO_SRCS9})
TARGET_LINK_LIBRARIES(otbIOTests9 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests9 OTBIO )
ADD_EXECUTABLE(otbIOTests10 otbIOTests10.cxx ${BasicIO_SRCS10})
TARGET_LINK_LIBRARIES(otbIOTests10 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests10 OTBIO )
ADD_EXECUTABLE(otbIOTests11 otbIOTests11.cxx ${BasicIO_SRCS11})
TARGET_LINK_LIBRARIES(otbIOTests11 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests11 OTBIO )
ADD_EXECUTABLE(otbIOTests12 otbIOTests12.cxx ${BasicIO_SRCS12})
TARGET_LINK_LIBRARIES(otbIOTests12 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests12 OTBIO )
# Case for releae 2.2.1
IF(OTB_COMPILE_JPEG2000)
......@@ -1687,17 +1687,17 @@ IF(OTB_COMPILE_JPEG2000)
ENDIF(NOT BUILD_SHARED_LIBS)
ADD_EXECUTABLE(otbIOTests13 otbIOTests13.cxx ${BasicIO_SRCS13})
TARGET_LINK_LIBRARIES(otbIOTests13 OTBIO OTBCommon gdal ITKIO ITKCommon dxf otbopenjpeg)
TARGET_LINK_LIBRARIES(otbIOTests13 OTBIO )
ENDIF(OTB_COMPILE_JPEG2000)
ADD_EXECUTABLE(otbIOTests14 otbIOTests14.cxx ${BasicIO_SRCS14})
TARGET_LINK_LIBRARIES(otbIOTests14 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests14 OTBIO )
ADD_EXECUTABLE(otbIOTests15 otbIOTests15.cxx ${BasicIO_SRCS15})
TARGET_LINK_LIBRARIES(otbIOTests15 OTBIO OTBCommon gdal ITKIO ITKCommon dxf otbkml)
TARGET_LINK_LIBRARIES(otbIOTests15 OTBIO )
ADD_EXECUTABLE(otbIOTests16 otbIOTests16.cxx ${BasicIO_SRCS16})
TARGET_LINK_LIBRARIES(otbIOTests16 OTBIO OTBCommon gdal ITKIO ITKCommon dxf)
TARGET_LINK_LIBRARIES(otbIOTests16 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