forked from halfgaar/FlashMQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.shared
138 lines (133 loc) · 3.9 KB
/
CMakeLists.shared
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# This file is shared between FlashMQ itself and FlashMQTests
# It should not contain any definitions that isn't used by both
# When building FlashMQTests:
# CMAKE_CURRENT_SOURCE_DIR -> /home/user/FlashMQ/FlashMQTests
# CMAKE_CURRENT_LIST_DIR -> /home/user/FlashMQ
#
# When building FlashMQ:
# CMAKE_CURRENT_SOURCE_DIR -> /home/user/FlashMQ
# CMAKE_CURRENT_LIST_DIR -> /home/user/FlashMQ
if (CMAKE_CURRENT_LIST_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
set(RELPATH "./")
else()
set(RELPATH "../")
endif()
message("Determined RELPATH: ${RELPATH}")
set(FLASHMQ_HEADERS
${RELPATH}forward_declarations.h
${RELPATH}mainapp.h
${RELPATH}utils.h
${RELPATH}threaddata.h
${RELPATH}client.h
${RELPATH}session.h
${RELPATH}mqttpacket.h
${RELPATH}exceptions.h
${RELPATH}types.h
${RELPATH}subscriptionstore.h
${RELPATH}rwlockguard.h
${RELPATH}retainedmessage.h
${RELPATH}cirbuf.h
${RELPATH}logger.h
${RELPATH}plugin.h
${RELPATH}configfileparser.h
${RELPATH}sslctxmanager.h
${RELPATH}timer.h
${RELPATH}iowrapper.h
${RELPATH}mosquittoauthoptcompatwrap.h
${RELPATH}settings.h
${RELPATH}listener.h
${RELPATH}unscopedlock.h
${RELPATH}scopedsocket.h
${RELPATH}bindaddr.h
${RELPATH}oneinstancelock.h
${RELPATH}evpencodectxmanager.h
${RELPATH}acltree.h
${RELPATH}enums.h
${RELPATH}threadlocalutils.h
${RELPATH}flashmq_plugin.h
${RELPATH}retainedmessagesdb.h
${RELPATH}persistencefile.h
${RELPATH}sessionsandsubscriptionsdb.h
${RELPATH}qospacketqueue.h
${RELPATH}threadglobals.h
${RELPATH}threadloop.h
${RELPATH}publishcopyfactory.h
${RELPATH}variablebyteint.h
${RELPATH}mqtt5properties.h
${RELPATH}globalstats.h
${RELPATH}derivablecounter.h
${RELPATH}packetdatatypes.h
${RELPATH}haproxy.h
${RELPATH}network.h
${RELPATH}subscription.h
${RELPATH}sharedsubscribers.h
${RELPATH}pluginloader.h
${RELPATH}queuedtasks.h
${RELPATH}acksender.h
${RELPATH}bridgeconfig.h
${RELPATH}dnsresolver.h
${RELPATH}globber.h
${RELPATH}bridgeinfodb.h
${RELPATH}x509manager.h
${RELPATH}backgroundworker.h
${RELPATH}fmqmain.h
${RELPATH}driftcounter.h
)
set(FLASHMQ_IMPLS
${RELPATH}mainapp.cpp
${RELPATH}utils.cpp
${RELPATH}threaddata.cpp
${RELPATH}client.cpp
${RELPATH}session.cpp
${RELPATH}mqttpacket.cpp
${RELPATH}exceptions.cpp
${RELPATH}types.cpp
${RELPATH}subscriptionstore.cpp
${RELPATH}rwlockguard.cpp
${RELPATH}retainedmessage.cpp
${RELPATH}cirbuf.cpp
${RELPATH}logger.cpp
${RELPATH}plugin.cpp
${RELPATH}configfileparser.cpp
${RELPATH}sslctxmanager.cpp
${RELPATH}timer.cpp
${RELPATH}iowrapper.cpp
${RELPATH}mosquittoauthoptcompatwrap.cpp
${RELPATH}settings.cpp
${RELPATH}listener.cpp
${RELPATH}unscopedlock.cpp
${RELPATH}scopedsocket.cpp
${RELPATH}bindaddr.cpp
${RELPATH}oneinstancelock.cpp
${RELPATH}evpencodectxmanager.cpp
${RELPATH}acltree.cpp
${RELPATH}threadlocalutils.cpp
${RELPATH}flashmq_plugin.cpp
${RELPATH}retainedmessagesdb.cpp
${RELPATH}persistencefile.cpp
${RELPATH}sessionsandsubscriptionsdb.cpp
${RELPATH}qospacketqueue.cpp
${RELPATH}threadglobals.cpp
${RELPATH}threadloop.cpp
${RELPATH}publishcopyfactory.cpp
${RELPATH}variablebyteint.cpp
${RELPATH}mqtt5properties.cpp
${RELPATH}globalstats.cpp
${RELPATH}derivablecounter.cpp
${RELPATH}packetdatatypes.cpp
${RELPATH}haproxy.cpp
${RELPATH}network.cpp
${RELPATH}subscription.cpp
${RELPATH}sharedsubscribers.cpp
${RELPATH}pluginloader.cpp
${RELPATH}queuedtasks.cpp
${RELPATH}acksender.cpp
${RELPATH}bridgeconfig.cpp
${RELPATH}dnsresolver.cpp
${RELPATH}bridgeinfodb.cpp
${RELPATH}globber.cpp
${RELPATH}x509manager.cpp
${RELPATH}backgroundworker.cpp
${RELPATH}fmqmain.cpp
${RELPATH}driftcounter.cpp
)