forked from ilri/GOBLET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
59 lines (47 loc) · 1.8 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
cmake_minimum_required (VERSION 2.6)
PROJECT(GOBLET)
add_compile_options(-std=c++11)
SET (CMAKE_CXX_FLAGS "-fPIC")
SET(CMAKE_BUILD_TYPE "Release")
SET(CPACK_SOURCE_STRIP_FILES TRUE)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
FIND_PACKAGE(Qt5Core REQUIRED)
FIND_PACKAGE(Qt5Xml REQUIRED)
FIND_PACKAGE(Qt5Sql REQUIRED)
FIND_PACKAGE(Tclap REQUIRED)
FIND_PACKAGE(shapelib REQUIRED)
SET(QT_USE_QTSQL TRUE)
SET(QT_USE_QTXML TRUE)
SET(QT_DONT_USE_QTGUI TRUE)
INCLUDE_DIRECTORIES(${Qt5Core_INCLUDE_DIRS})
ADD_DEFINITIONS(${Qt5Core_DEFINITIONS})
INCLUDE_DIRECTORIES(${Qt5Xml_INCLUDE_DIRS})
ADD_DEFINITIONS(${Qt5Xml_DEFINITIONS})
INCLUDE_DIRECTORIES(${Qt5Sql_INCLUDE_DIRS})
ADD_DEFINITIONS(${Qt5Sql_DEFINITIONS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR} ${SHAPELIB_INCLUDE_DIR} ${TCLAP_INCLUDEDIR})
add_subdirectory (GOBLET-createdb)
add_subdirectory (GOBLET-aggregatedataset)
add_subdirectory (GOBLET-calcincombination)
add_subdirectory (GOBLET-classifyaggregate)
add_subdirectory (GOBLET-classifydataset)
add_subdirectory (GOBLET-combineaggregate)
add_subdirectory (GOBLET-combinedatasets)
add_subdirectory (GOBLET-datasetcalc)
add_subdirectory (GOBLET-datasetextract)
add_subdirectory (GOBLET-describeshape)
add_subdirectory (GOBLET-genaggregatestats)
add_subdirectory (GOBLET-gendatasetstats)
add_subdirectory (GOBLET-listdatasets)
add_subdirectory (GOBLET-modifydataset)
add_subdirectory (GOBLET-outputraster)
add_subdirectory (GOBLET-resetaggregate)
add_subdirectory (GOBLET-resetdataset)
add_subdirectory (GOBLET-outputshape)
add_subdirectory (GOBLET-importshape)
add_subdirectory (GOBLET-importdataset)
add_subdirectory (GOBLET-removedataset)
add_subdirectory (GOBLET-executesql)
add_subdirectory (GOBLET-aggregatetoshape)
add_subdirectory (GOBLET-calcinshape)
add_subdirectory (GOBLET-extractmetadata)