-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
67 lines (54 loc) · 1.28 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
60
61
62
63
64
65
66
67
########################################################
# Files
SET (WEB_DATA_SRCS
webdataplugin.cpp
webdatadialog.cpp
addservicedialog.cpp
webdatamodel.cpp
webdatafiltermodel.cpp
)
SET (WEB_DATA_UIS
webdatadialogbase.ui
addservicedialogbase.ui
)
SET (WEB_DATA_MOC_HDRS
webdataplugin.h
webdatadialog.h
webdatamodel.h
)
SET (WEB_DATA_RCCS resources.qrc)
########################################################
# Build
QT4_WRAP_UI (WEB_DATA_UIS_H ${WEB_DATA_UIS})
QT4_WRAP_CPP (WEB_DATA_MOC_SRCS ${WEB_DATA_MOC_HDRS})
QT4_ADD_RESOURCES(WEB_DATA_RCC_SRCS ${WEB_DATA_RCCS})
ADD_LIBRARY (webdataplugin MODULE
${WEB_DATA_SRCS}
${WEB_DATA_UIS_H}
${WEB_DATA_MOC_SRCS}
${WEB_DATA_RCC_SRCS}
)
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/../../ui
${GDAL_INCLUDE_DIR}
../../core
../../core/geometry
../../core/layertree
../../core/raster
../../core/symbology-ng
../../gui
../../gui/layertree
..
.
)
TARGET_LINK_LIBRARIES(webdataplugin
qgis_core
qgis_gui
)
########################################################
# Install
INSTALL(TARGETS webdataplugin
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR}
)