Fixed SRTM positioning (each tile overlaps the next by one sample) and added config...
[tecorrec.git] / geo / CMakeLists.txt
blob78a249dc7cfc9cfa1895b3730b075b4a46c8b7f9
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     tcObserver.cpp
12     tcGlobe.cpp
13     tcGeoData.cpp
14     tcSrtmModel.cpp
15     tcSrtmCache.cpp
16     tcSrtmData.cpp
17     tcPixelData.cpp
18     tcChannel.cpp
19     tcChannelDem.cpp
20     tcChannelGroup.cpp
21     tcChannelManager.cpp
22     tcChannelConfigWidget.cpp
23     tcChannelFile.cpp
24     tcChannelChromaticity.cpp
25     tcIlluminantDirection.cpp
26     tcShadowFreeChromaticities.cpp
27     tcIlluminantDiscontinuity.cpp
28     tcShadowClassification.cpp
29     tcNegativeProduct.cpp
30     tcLambertianShading.cpp
31     tcRaytracedShadowMap.cpp
32     tcGeoImageData.cpp
33     tcSensor.cpp
34     tcSpectrum.cpp
35     tcRangeSpectrum.cpp
36     tcLandsatMetaData.cpp
37     tcLandsatData.cpp
40 set(tecorrec_geo_HEADERS
41     tcChannelConfigWidget.h
42     tcIlluminantDirection.h
43     tcNegativeProduct.h
46 qt4_wrap_cpp(tecorrec_geo_MOCS ${tecorrec_geo_HEADERS})
48 add_library(tecorrec_geo ${tecorrec_geo_SRCS} ${tecorrec_geo_MOCS})
50 target_link_libraries(tecorrec_geo
51                       ${QT_LIBRARIES}
52                       ${GDAL_LIBRARY}
53                       tecorrec_maths