forked from sogou/workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists_Headers.txt
109 lines (105 loc) · 2.64 KB
/
CMakeLists_Headers.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
cmake_minimum_required(VERSION 3.6)
set(COMMON_KERNEL_HEADERS
src/kernel/CommRequest.h
src/kernel/CommScheduler.h
src/kernel/Communicator.h
src/kernel/SleepRequest.h
src/kernel/ExecRequest.h
src/kernel/IORequest.h
src/kernel/Executor.h
src/kernel/list.h
src/kernel/mpoller.h
src/kernel/poller.h
src/kernel/msgqueue.h
src/kernel/rbtree.h
src/kernel/SubTask.h
src/kernel/thrdpool.h
)
if (WIN32)
set(INCLUDE_KERNEL_HEADERS
src/kernel_win/list.h
)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Android")
set(INCLUDE_KERNEL_HEADERS
${COMMON_KERNEL_HEADERS}
src/kernel/IOService_linux.h
)
elseif (UNIX)
set(INCLUDE_KERNEL_HEADERS
${COMMON_KERNEL_HEADERS}
src/kernel/IOService_thread.h
)
else ()
message(FATAL_ERROR "IOService unsupported.")
endif ()
set(INCLUDE_HEADERS
src/algorithm/DnsRoutine.h
src/algorithm/MapReduce.h
src/algorithm/MapReduce.inl
src/protocol/ProtocolMessage.h
src/protocol/http_parser.h
src/protocol/HttpMessage.h
src/protocol/HttpUtil.h
src/protocol/redis_parser.h
src/protocol/RedisMessage.h
src/protocol/mysql_stream.h
src/protocol/MySQLMessage.h
src/protocol/MySQLMessage.inl
src/protocol/MySQLResult.h
src/protocol/MySQLResult.inl
src/protocol/mysql_parser.h
src/protocol/mysql_types.h
src/protocol/mysql_byteorder.h
src/protocol/SSLWrapper.h
src/protocol/dns_parser.h
src/protocol/DnsMessage.h
src/protocol/DnsUtil.h
src/server/WFServer.h
src/server/WFDnsServer.h
src/server/WFHttpServer.h
src/server/WFRedisServer.h
src/server/WFMySQLServer.h
src/client/WFMySQLConnection.h
src/client/WFDnsClient.h
src/manager/DnsCache.h
src/manager/WFGlobal.h
src/manager/UpstreamManager.h
src/manager/RouteManager.h
src/manager/EndpointParams.h
src/manager/WFFuture.h
src/manager/WFFacilities.h
src/manager/WFFacilities.inl
src/util/EncodeStream.h
src/util/LRUCache.h
src/util/StringUtil.h
src/util/URIParser.h
src/util/MD5Util.h
src/factory/WFConnection.h
src/factory/WFTask.h
src/factory/WFTask.inl
src/factory/WFGraphTask.h
src/factory/WFTaskError.h
src/factory/WFTaskFactory.h
src/factory/WFTaskFactory.inl
src/factory/WFAlgoTaskFactory.h
src/factory/WFAlgoTaskFactory.inl
src/factory/Workflow.h
src/factory/WFOperator.h
src/factory/WFResourcePool.h
src/nameservice/WFNameService.h
src/nameservice/WFDnsResolver.h
src/nameservice/WFServiceGovernance.h
src/nameservice/UpstreamPolicies.h
)
if(KAFKA STREQUAL "y")
set(INCLUDE_HEADERS
${INCLUDE_HEADERS}
src/util/crc32c.h
src/protocol/KafkaMessage.h
src/protocol/KafkaDataTypes.h
src/protocol/KafkaResult.h
src/protocol/kafka_parser.h
src/client/WFKafkaClient.h
src/factory/KafkaTaskImpl.inl
)
endif()