-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
CMakeLists.txt
48 lines (39 loc) · 958 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
SET(AUTH_BASIC_SRCS
qgsauthbasicmethod.cpp
qgsauthbasicedit.cpp
)
SET(AUTH_BASIC_HDRS
qgsauthbasicmethod.h
qgsauthbasicedit.h
)
SET(AUTH_BASIC_MOC_HDRS
qgsauthbasicmethod.h
qgsauthbasicedit.h
)
SET(AUTH_BASIC_UIS qgsauthbasicedit.ui)
INCLUDE_DIRECTORIES (
../../core
../../core/auth
../../core/geometry
${CMAKE_BINARY_DIR}/src/core
${CMAKE_BINARY_DIR}/src/gui
)
INCLUDE_DIRECTORIES (SYSTEM
${QCA_INCLUDE_DIR}
${QTKEYCHAIN_INCLUDE_DIR}
)
INCLUDE_DIRECTORIES (
../../gui
../../gui/auth
${CMAKE_CURRENT_BINARY_DIR}
)
QT5_WRAP_UI (AUTH_BASIC_UIS_H ${AUTH_BASIC_UIS})
QT5_WRAP_CPP(AUTH_BASIC_MOC_SRCS ${AUTH_BASIC_MOC_HDRS})
ADD_LIBRARY (basicauthmethod MODULE ${AUTH_BASIC_SRCS} ${AUTH_BASIC_HDRS} ${AUTH_BASIC_MOC_SRCS} ${AUTH_BASIC_UIS_H})
TARGET_LINK_LIBRARIES (basicauthmethod
qgis_core
qgis_gui
)
INSTALL(TARGETS basicauthmethod
RUNTIME DESTINATION ${QGIS_PLUGIN_DIR}
LIBRARY DESTINATION ${QGIS_PLUGIN_DIR})