1
project(qorganizer-eds-src)
3
set(QORGANIZER_BACKEND qtorganizer_eds)
5
set(QORGANIZER_BACKEND_SRCS
6
qorganizer-eds-collection-engineid.cpp
7
qorganizer-eds-fetchrequestdata.cpp
8
qorganizer-eds-fetchbyidrequestdata.cpp
9
qorganizer-eds-fetchocurrencedata.cpp
10
qorganizer-eds-engine.cpp
11
qorganizer-eds-enginedata.cpp
12
qorganizer-eds-engineid.cpp
13
qorganizer-eds-removecollectionrequestdata.cpp
14
qorganizer-eds-removerequestdata.cpp
15
qorganizer-eds-removebyidrequestdata.cpp
16
qorganizer-eds-requestdata.cpp
17
qorganizer-eds-savecollectionrequestdata.cpp
18
qorganizer-eds-saverequestdata.cpp
19
qorganizer-eds-viewwatcher.cpp
20
qorganizer-eds-source-registry.cpp
23
set(QORGANIZER_BACKEND_HDRS
24
qorganizer-eds-collection-engineid.h
25
qorganizer-eds-fetchrequestdata.h
26
qorganizer-eds-fetchbyidrequestdata.h
27
qorganizer-eds-fetchocurrencedata.h
28
qorganizer-eds-engine.h
29
qorganizer-eds-enginedata.h
30
qorganizer-eds-engineid.h
31
qorganizer-eds-removecollectionrequestdata.h
32
qorganizer-eds-removerequestdata.h
33
qorganizer-eds-removebyidrequestdata.h
34
qorganizer-eds-requestdata.h
35
qorganizer-eds-savecollectionrequestdata.h
36
qorganizer-eds-saverequestdata.h
37
qorganizer-eds-source-registry.h
38
qorganizer-eds-viewwatcher.h
41
add_library(${QORGANIZER_BACKEND}-lib STATIC
42
${QORGANIZER_BACKEND_SRCS}
43
${QORGANIZER_BACKEND_HDRS}
46
add_library(${QORGANIZER_BACKEND} MODULE
47
qorganizer-eds-factory.cpp
48
qorganizer-eds-factory.h
56
${EDATASERVER_INCLUDE_DIRS}
59
target_link_libraries(${QORGANIZER_BACKEND}-lib
62
${EDATASERVER_LIBRARIES}
65
target_link_libraries(${QORGANIZER_BACKEND}
66
${QORGANIZER_BACKEND}-lib
69
${EDATASERVER_LIBRARIES}
72
qt5_use_modules(${QORGANIZER_BACKEND}-lib Core Organizer)
73
qt5_use_modules(${QORGANIZER_BACKEND} Core Organizer)
76
COMMAND qmake -query QT_INSTALL_PLUGINS
77
OUTPUT_VARIABLE QT_INSTALL_PLUGINS
78
OUTPUT_STRIP_TRAILING_WHITESPACE
81
install(TARGETS ${QORGANIZER_BACKEND} LIBRARY DESTINATION ${QT_INSTALL_PLUGINS}/organizer)