CMakeLists.txt 964 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ADD_SUBDIRECTORY(Common)
ADD_SUBDIRECTORY(BasicFilters)
ADD_SUBDIRECTORY(IO)
ADD_SUBDIRECTORY(ChangeDetection)
ADD_SUBDIRECTORY(FeatureExtraction)
ADD_SUBDIRECTORY(Learning)
ADD_SUBDIRECTORY(MultiScale)
ADD_SUBDIRECTORY(DisparityMap)
ADD_SUBDIRECTORY(SpatialReasoning)
ADD_SUBDIRECTORY(Projections)
ADD_SUBDIRECTORY(Radiometry)
ADD_SUBDIRECTORY(Fusion)
ADD_SUBDIRECTORY(Markov)
ADD_SUBDIRECTORY(SARPolarimetry)
ADD_SUBDIRECTORY(Testing)
16

17
IF(OTB_USE_VISU_GUI)
18
19
20
        ADD_SUBDIRECTORY(Visu)
        ADD_SUBDIRECTORY(Gui)
        ADD_SUBDIRECTORY(Visualization)
21
ENDIF(OTB_USE_VISU_GUI)
22
23

IF(OTB_USE_PQXX)
24
        ADD_SUBDIRECTORY(GeospatialAnalysis)
25
ENDIF(OTB_USE_PQXX)
26
27
28
29
30
31
32

IF(OTB_COMPILE_WITH_FULL_WARNING)
  IF(CMAKE_COMPILER_IS_GNUCXX)
    SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OTB_FULL_WARNING_LIST_PARAMETERS}")
    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OTB_FULL_WARNING_LIST_PARAMETERS}")
  ENDIF(CMAKE_COMPILER_IS_GNUCXX)
ENDIF(OTB_COMPILE_WITH_FULL_WARNING)