-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
/
Copy pathCMakeLists.txt
53 lines (37 loc) · 1023 Bytes
/
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
########################################################
# Files
SET (heatmap_SRCS
heatmap.cpp
heatmapgui.cpp
)
SET (heatmap_UIS heatmapguibase.ui)
SET (heatmap_MOC_HDRS
heatmap.h
heatmapgui.h
)
SET (heatmap_RCCS heatmap.qrc)
########################################################
# Build
QT4_WRAP_UI (heatmap_UIS_H ${heatmap_UIS})
QT4_WRAP_CPP (heatmap_MOC_SRCS ${heatmap_MOC_HDRS})
QT4_ADD_RESOURCES(heatmap_RCC_SRCS ${heatmap_RCCS})
ADD_LIBRARY (heatmapplugin MODULE ${heatmap_SRCS} ${heatmap_MOC_SRCS} ${heatmap_RCC_SRCS} ${heatmap_UIS_H})
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${GEOS_INCLUDE_DIR}
${GDAL_INCLUDE_DIR}
../../core
../../core/raster
../../gui
../../analysis/raster
..
)
TARGET_LINK_LIBRARIES(heatmapplugin
qgis_core
qgis_gui
)
########################################################
# Install
INSTALL(TARGETS heatmapplugin
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})