-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
87 lines (67 loc) · 1.98 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Copy this directory to src/plugins in your QGIS source code directory
# and add following line to src/plugins/CMakeLists.txt (../CMakeLists.txt).
# SUBDIRS (vfk_plugin)
########################################################
# Files
SET (vfkplugin_SRCS
vlastnicisearchform.cpp
vfktextbrowser.cpp
vfktablemodel.cpp
vfkmainwindow.cpp
searchformcontroller.cpp
parcelysearchform.cpp
latexdocument.cpp
jednotkysearchform.cpp
htmldocument.cpp
richtextdocument.cpp
domains.cpp
documentbuilder.cpp
budovysearchform.cpp
vfkplugin.cpp
vfkplugingui.cpp
)
SET (vfkplugin_UIS budovysearchform.ui jednotkysearchform.ui parcelysearchform.ui vfkmainwindow.ui vlastnicisearchform.ui)
SET (vfkplugin_MOC_HDRS
vlastnicisearchform.h
vfktextbrowser.h
vfktablemodel.h
vfkmainwindow.h
searchformcontroller.h
parcelysearchform.h
jednotkysearchform.h
budovysearchform.h
vfkplugin.h
vfkplugingui.h
)
# vfkdocument.h
# htmldocument.h
# richtextdocument.h
# domains.h
# documentbuilder.h
# latexdocument.h
SET (vfkplugin_RCCS vfkplugin.qrc)
########################################################
# Build
QT4_WRAP_UI (vfkplugin_UIS_H ${vfkplugin_UIS})
QT4_WRAP_CPP (vfkplugin_MOC_SRCS ${vfkplugin_MOC_HDRS})
QT4_ADD_RESOURCES(vfkplugin_RCC_SRCS ${vfkplugin_RCCS})
ADD_LIBRARY (vfkplugin MODULE ${vfkplugin_SRCS} ${vfkplugin_MOC_SRCS} ${vfkplugin_RCC_SRCS} ${vfkplugin_UIS_H})
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
../../core ../../core/raster ../../core/renderer ../../core/symbology
../../gui ../../core/geometry
..
${GDAL_INCLUDE_DIR}
)
TARGET_LINK_LIBRARIES(vfkplugin
qgis_core
qgis_gui
${QT_QTSQL_LIBRARY}
${GDAL_LIBRARY}
)
########################################################
# Install
INSTALL(TARGETS vfkplugin
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})