tcElevationOptimization::loadSnapShot: simplify reliability expression
[tecorrec.git] / geo / CMakeLists.txt
blobcca4f55b04f16fbbb59858fe65b1c0e89116aa96
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     tcNormals.cpp
36     tcElevation.cpp
37     tcElevationDifference.cpp
38     tcElevationOptimization.cpp
39     tcElevationData.cpp
40     tcGeoImageData.cpp
41     tcSensor.cpp
42     tcSpectrum.cpp
43     tcRangeSpectrum.cpp
44     tcShadowClassifyingData.cpp
45     tcLandsatMetaData.cpp
46     tcLandsatData.cpp
47     tcCustomSunDirection.cpp
48     tcProcessingData.cpp
49     tcExportText.cpp
52 set(tecorrec_geo_HEADERS
53     tcChannel.h
54     tcChannelGroup.h
55     tcChannelManager.h
56     tcChannelConfigWidget.h
57     tcIlluminantDirection.h
58     tcNegativeProduct.h
59     tcElevationDifference.h
60     tcElevationOptimization.h
61     tcSrtmModel.h
62     tcSrtmCache.h
63     tcSrtmData.h
64     tcExportText.h
67 qt4_wrap_cpp(tecorrec_geo_MOCS ${tecorrec_geo_HEADERS})
69 add_library(tecorrec_geo ${tecorrec_geo_SRCS} ${tecorrec_geo_MOCS})
71 target_link_libraries(tecorrec_geo
72                       ${QT_LIBRARIES}
73                       ${GDAL_LIBRARY}
74                       tecorrec_maths