Landsat datasets make negative product load parameters from dataset specific file...
[tecorrec.git] / geo / CMakeLists.txt
blob1679504d2c3ed58738c42aeb1b8c90978068e3bf
1 find_package(Qt4 REQUIRED)
2 find_package(GDAL REQUIRED)
4 set(QT_USE_QTOPENGL true)
5 include(${QT_USE_FILE})
6 include_directories(${QT_INCLUDES}
7                     ${GDAL_INCLUDE_DIR}
10 set(tecorrec_geo_SRCS
11     tcAffineTransform.cpp
12     tcObserver.cpp
13     tcGlobe.cpp
14     tcGeoData.cpp
15     tcSrtmModel.cpp
16     tcSrtmCache.cpp
17     tcSrtmData.cpp
18     tcPixelData.cpp
19     tcChannel.cpp
20     tcChannelDem.cpp
21     tcChannelGroup.cpp
22     tcChannelManager.cpp
23     tcChannelConfigWidget.cpp
24     tcChannelFile.cpp
25     tcChannelChromaticity.cpp
26     tcIlluminantDirection.cpp
27     tcShadowFreeChromaticities.cpp
28     tcIlluminantDiscontinuity.cpp
29     tcShadowClassification.cpp
30     tcNegativeProduct.cpp
31     tcPixelOp.cpp
32     tcShadowDepth.cpp
33     tcLambertianShading.cpp
34     tcRaytracedShadowMap.cpp
35     tcElevation.cpp
36     tcElevationDifference.cpp
37     tcElevationOptimization.cpp
38     tcElevationData.cpp
39     tcGeoImageData.cpp
40     tcSensor.cpp
41     tcSpectrum.cpp
42     tcRangeSpectrum.cpp
43     tcShadowClassifyingData.cpp
44     tcLandsatMetaData.cpp
45     tcLandsatData.cpp
46     tcCustomSunDirection.cpp
47     tcProcessingData.cpp
48     tcExportText.cpp
51 set(tecorrec_geo_HEADERS
52     tcChannel.h
53     tcChannelGroup.h
54     tcChannelManager.h
55     tcChannelConfigWidget.h
56     tcIlluminantDirection.h
57     tcNegativeProduct.h
58     tcElevationDifference.h
59     tcElevationOptimization.h
60     tcSrtmModel.h
61     tcSrtmCache.h
62     tcSrtmData.h
63     tcExportText.h
66 qt4_wrap_cpp(tecorrec_geo_MOCS ${tecorrec_geo_HEADERS})
68 add_library(tecorrec_geo ${tecorrec_geo_SRCS} ${tecorrec_geo_MOCS})
70 target_link_libraries(tecorrec_geo
71                       ${QT_LIBRARIES}
72                       ${GDAL_LIBRARY}
73                       tecorrec_maths