Elevation optimization updates elevation data
[tecorrec.git] / geo / CMakeLists.txt
blobee95fac05dbb2398d7f697b4dab4275d1f1c9749
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     tcElevationOptimization.cpp
37     tcElevationData.cpp
38     tcGeoImageData.cpp
39     tcSensor.cpp
40     tcSpectrum.cpp
41     tcRangeSpectrum.cpp
42     tcLandsatMetaData.cpp
43     tcLandsatData.cpp
44     tcExportText.cpp
47 set(tecorrec_geo_HEADERS
48     tcChannel.h
49     tcChannelGroup.h
50     tcChannelManager.h
51     tcChannelConfigWidget.h
52     tcIlluminantDirection.h
53     tcNegativeProduct.h
54     tcElevationOptimization.h
55     tcSrtmModel.h
56     tcSrtmCache.h
57     tcSrtmData.h
58     tcExportText.h
61 qt4_wrap_cpp(tecorrec_geo_MOCS ${tecorrec_geo_HEADERS})
63 add_library(tecorrec_geo ${tecorrec_geo_SRCS} ${tecorrec_geo_MOCS})
65 target_link_libraries(tecorrec_geo
66                       ${QT_LIBRARIES}
67                       ${GDAL_LIBRARY}
68                       tecorrec_maths