forked from DaemonEngine/Daemon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
srclibs.cmake
237 lines (224 loc) · 9.5 KB
/
srclibs.cmake
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
set(CRUNCHLIST
${LIB_DIR}/crunch/inc/crn_decomp.h
${LIB_DIR}/crunch/inc/crnlib.h
)
set(DETOURLIST
${LIB_DIR}/recastnavigation/DebugUtils/Source/DebugDraw.cpp
${LIB_DIR}/recastnavigation/Detour/Source/DetourAlloc.cpp
${LIB_DIR}/recastnavigation/Detour/Include/DetourAssert.h
${LIB_DIR}/recastnavigation/Detour/Source/DetourCommon.cpp
${LIB_DIR}/recastnavigation/DebugUtils/Source/DetourDebugDraw.cpp
${LIB_DIR}/recastnavigation/Detour/Source/DetourNavMesh.cpp
${LIB_DIR}/recastnavigation/Detour/Source/DetourNavMeshBuilder.cpp
${LIB_DIR}/recastnavigation/Detour/Source/DetourNavMeshQuery.cpp
${LIB_DIR}/recastnavigation/Detour/Include/DetourMath.h
${LIB_DIR}/recastnavigation/Detour/Source/DetourNode.cpp
${LIB_DIR}/recastnavigation/DetourCrowd/Source/DetourPathCorridor.cpp
${LIB_DIR}/recastnavigation/Detour/Include/DetourStatus.h
${LIB_DIR}/recastnavigation/DetourTileCache/Source/DetourTileCache.cpp
${LIB_DIR}/recastnavigation/DetourTileCache/Source/DetourTileCacheBuilder.cpp
)
set(FASTLZLIST
${LIB_DIR}/fastlz/fastlz.c
)
set(FINDLOCALELIST
${LIB_DIR}/findlocale/findlocale.c
)
set(MINIZIPLIST
${LIB_DIR}/minizip/ioapi.c
${LIB_DIR}/minizip/ioapi.h
${LIB_DIR}/minizip/unzip.c
${LIB_DIR}/minizip/unzip.h
)
set(MUMBLELINKLIST
${LIB_DIR}/mumblelink/libmumblelink.cpp
${LIB_DIR}/mumblelink/libmumblelink.h
)
set(NACLLIST_MODULE
${LIB_DIR}/nacl/native_client/src/shared/imc/nacl/nacl_imc.cc
${LIB_DIR}/nacl/native_client/src/shared/imc/nacl_imc_common.cc
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_accept.c
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_connect.c
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_makeboundsock.c
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_mem_obj_create.c
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_recvmsg.c
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_sendmsg.c
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_socketpair.c
)
if (APPLE)
set(NACLLIST_NATIVE
${LIB_DIR}/nacl/native_client/src/shared/imc/nacl_imc_common.cc
${LIB_DIR}/nacl/native_client/src/shared/imc/posix/nacl_imc_posix.cc
${LIB_DIR}/nacl/native_client/src/shared/imc/osx/nacl_imc.cc
)
elseif (LINUX)
set(NACLLIST_NATIVE
${LIB_DIR}/nacl/native_client/src/shared/imc/nacl_imc_common.cc
${LIB_DIR}/nacl/native_client/src/shared/imc/posix/nacl_imc_posix.cc
${LIB_DIR}/nacl/native_client/src/shared/imc/linux/nacl_imc.cc
)
elseif (WIN32)
set(NACLLIST_NATIVE
${LIB_DIR}/nacl/native_client/src/shared/imc/nacl_imc_common.cc
${LIB_DIR}/nacl/native_client/src/shared/imc/win/nacl_imc.cc
${LIB_DIR}/nacl/native_client/src/shared/imc/win/nacl_shm.cc
)
endif()
set(OPENEXRLIST
${LIB_DIR}/openexr/half.cpp
)
set(PDCURSESLIST
${LIB_DIR}/pdcurses/pdcurses/addch.c
${LIB_DIR}/pdcurses/pdcurses/addchstr.c
${LIB_DIR}/pdcurses/pdcurses/addstr.c
${LIB_DIR}/pdcurses/pdcurses/attr.c
${LIB_DIR}/pdcurses/pdcurses/beep.c
${LIB_DIR}/pdcurses/pdcurses/bkgd.c
${LIB_DIR}/pdcurses/pdcurses/border.c
${LIB_DIR}/pdcurses/pdcurses/clear.c
${LIB_DIR}/pdcurses/pdcurses/color.c
${LIB_DIR}/pdcurses/pdcurses/debug.c
${LIB_DIR}/pdcurses/pdcurses/delch.c
${LIB_DIR}/pdcurses/pdcurses/deleteln.c
${LIB_DIR}/pdcurses/pdcurses/deprec.c
${LIB_DIR}/pdcurses/pdcurses/getch.c
${LIB_DIR}/pdcurses/pdcurses/getstr.c
${LIB_DIR}/pdcurses/pdcurses/getyx.c
${LIB_DIR}/pdcurses/pdcurses/inch.c
${LIB_DIR}/pdcurses/pdcurses/inchstr.c
${LIB_DIR}/pdcurses/pdcurses/initscr.c
${LIB_DIR}/pdcurses/pdcurses/inopts.c
${LIB_DIR}/pdcurses/pdcurses/insch.c
${LIB_DIR}/pdcurses/pdcurses/insstr.c
${LIB_DIR}/pdcurses/pdcurses/instr.c
${LIB_DIR}/pdcurses/pdcurses/kernel.c
${LIB_DIR}/pdcurses/pdcurses/mouse.c
${LIB_DIR}/pdcurses/pdcurses/move.c
${LIB_DIR}/pdcurses/pdcurses/outopts.c
${LIB_DIR}/pdcurses/pdcurses/overlay.c
${LIB_DIR}/pdcurses/pdcurses/pad.c
${LIB_DIR}/pdcurses/pdcurses/panel.c
${LIB_DIR}/pdcurses/pdcurses/printw.c
${LIB_DIR}/pdcurses/pdcurses/refresh.c
${LIB_DIR}/pdcurses/pdcurses/scanw.c
${LIB_DIR}/pdcurses/pdcurses/scroll.c
${LIB_DIR}/pdcurses/pdcurses/scr_dump.c
${LIB_DIR}/pdcurses/pdcurses/slk.c
${LIB_DIR}/pdcurses/pdcurses/termattr.c
${LIB_DIR}/pdcurses/pdcurses/terminfo.c
${LIB_DIR}/pdcurses/pdcurses/touch.c
${LIB_DIR}/pdcurses/pdcurses/util.c
${LIB_DIR}/pdcurses/pdcurses/window.c
${LIB_DIR}/pdcurses/win32a/pdcclip.c
${LIB_DIR}/pdcurses/win32a/pdcdisp.c
${LIB_DIR}/pdcurses/win32a/pdcgetsc.c
${LIB_DIR}/pdcurses/win32a/pdckbd.c
${LIB_DIR}/pdcurses/win32a/pdcscrn.c
${LIB_DIR}/pdcurses/win32a/pdcsetsc.c
${LIB_DIR}/pdcurses/win32a/pdcutil.c
)
set(TINYFORMATLIST
${LIB_DIR}/tinyformat/tinyformat.h
)
set(TINYGETTEXTLIST
${FINDLOCALELIST}
${LIB_DIR}/tinygettext/dictionary.cpp
${LIB_DIR}/tinygettext/dictionary.hpp
${LIB_DIR}/tinygettext/dictionary_manager.cpp
${LIB_DIR}/tinygettext/dictionary_manager.hpp
${LIB_DIR}/tinygettext/file_system.hpp
${LIB_DIR}/tinygettext/iconv.cpp
${LIB_DIR}/tinygettext/iconv.hpp
${LIB_DIR}/tinygettext/language.cpp
${LIB_DIR}/tinygettext/language.hpp
${LIB_DIR}/tinygettext/log.cpp
${LIB_DIR}/tinygettext/log.hpp
${LIB_DIR}/tinygettext/log_stream.hpp
${LIB_DIR}/tinygettext/plural_forms.cpp
${LIB_DIR}/tinygettext/plural_forms.hpp
${LIB_DIR}/tinygettext/po_parser.cpp
${LIB_DIR}/tinygettext/po_parser.hpp
${LIB_DIR}/tinygettext/tinygettext.cpp
${LIB_DIR}/tinygettext/tinygettext.hpp
)
# This is only used for the NaCl modules. For all other targets, the host zlib
# is used (sourced from external_deps if not available on target platform).
set(ZLIBLIST
${LIB_DIR}/zlib/adler32.c
${LIB_DIR}/zlib/compress.c
${LIB_DIR}/zlib/crc32.c
${LIB_DIR}/zlib/crc32.h
${LIB_DIR}/zlib/deflate.c
${LIB_DIR}/zlib/deflate.h
${LIB_DIR}/zlib/gzclose.c
${LIB_DIR}/zlib/gzguts.h
${LIB_DIR}/zlib/gzlib.c
${LIB_DIR}/zlib/gzread.c
${LIB_DIR}/zlib/gzwrite.c
${LIB_DIR}/zlib/infback.c
${LIB_DIR}/zlib/inffast.c
${LIB_DIR}/zlib/inffast.h
${LIB_DIR}/zlib/inffixed.h
${LIB_DIR}/zlib/inflate.c
${LIB_DIR}/zlib/inflate.h
${LIB_DIR}/zlib/inftrees.c
${LIB_DIR}/zlib/inftrees.h
${LIB_DIR}/zlib/trees.c
${LIB_DIR}/zlib/trees.h
${LIB_DIR}/zlib/uncompr.c
${LIB_DIR}/zlib/zconf.h
${LIB_DIR}/zlib/zlib.h
${LIB_DIR}/zlib/zutil.c
${LIB_DIR}/zlib/zutil.h
)
if (WIN32)
set(BREAKPAD_COMMON_LIST
${LIB_DIR}/breakpad/src/common/windows/guid_string.cc
${LIB_DIR}/breakpad/src/common/windows/guid_string.h
${LIB_DIR}/breakpad/src/common/windows/http_upload.cc
${LIB_DIR}/breakpad/src/common/windows/http_upload.h
${LIB_DIR}/breakpad/src/common/windows/string_utils.cc
)
set(BREAKPAD_CRASHGENERATIONSERVER_LIST
${LIB_DIR}/breakpad/src/client/windows/crash_generation/client_info.cc
${LIB_DIR}/breakpad/src/client/windows/crash_generation/crash_generation_server.cc
${LIB_DIR}/breakpad/src/client/windows/crash_generation/minidump_generator.cc
${LIB_DIR}/breakpad/src/client/windows/crash_generation/client_info.h
${LIB_DIR}/breakpad/src/client/windows/crash_generation/crash_generation_client.h
${LIB_DIR}/breakpad/src/client/windows/crash_generation/crash_generation_server.h
${LIB_DIR}/breakpad/src/client/windows/crash_generation/minidump_generator.h
)
set(BREAKPAD_CRASHGENERATIONCLIENT_LIST
${LIB_DIR}/breakpad/src/client/windows/crash_generation/crash_generation_client.h
${LIB_DIR}/breakpad/src/client/windows/crash_generation/crash_generation_client.cc
${LIB_DIR}/breakpad/src/client/windows/crash_generation/crash_generation_server.h
)
set(BREAKPAD_EXCEPTIONHANDLER_LIST
${LIB_DIR}/breakpad/src/client/windows/handler/exception_handler.cc
${LIB_DIR}/breakpad/src/client/windows/handler/exception_handler.h
)
elseif (LINUX)
set(BREAKPAD_LIST
${LIB_DIR}/breakpad/src/client/linux/crash_generation/crash_generation_client.cc
${LIB_DIR}/breakpad/src/client/linux/crash_generation/crash_generation_server.cc
${LIB_DIR}/breakpad/src/client/linux/dump_writer_common/thread_info.cc
${LIB_DIR}/breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc
${LIB_DIR}/breakpad/src/client/linux/handler/exception_handler.cc
${LIB_DIR}/breakpad/src/client/linux/handler/minidump_descriptor.cc
${LIB_DIR}/breakpad/src/client/linux/log/log.cc
${LIB_DIR}/breakpad/src/client/linux/microdump_writer/microdump_writer.cc
${LIB_DIR}/breakpad/src/client/linux/minidump_writer/linux_dumper.cc
${LIB_DIR}/breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc
${LIB_DIR}/breakpad/src/client/linux/minidump_writer/minidump_writer.cc
${LIB_DIR}/breakpad/src/client/minidump_file_writer.cc
${LIB_DIR}/breakpad/src/common/convert_UTF.c
${LIB_DIR}/breakpad/src/common/md5.cc
${LIB_DIR}/breakpad/src/common/string_conversion.cc
${LIB_DIR}/breakpad/src/common/linux/elfutils.cc
${LIB_DIR}/breakpad/src/common/linux/file_id.cc
${LIB_DIR}/breakpad/src/common/linux/guid_creator.cc
${LIB_DIR}/breakpad/src/common/linux/linux_libc_support.cc
${LIB_DIR}/breakpad/src/common/linux/memory_mapped_file.cc
${LIB_DIR}/breakpad/src/common/linux/safe_readlink.cc
)
endif()