forked from Koromix/rygel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FelixBuild.ini
407 lines (363 loc) · 11.7 KB
/
FelixBuild.ini
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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see https://www.gnu.org/licenses/.
# ------------------------------------------------------------------------
# Libraries
# ------------------------------------------------------------------------
[miniz]
Type = ExternalLibrary
SourceDirectory = vendor/miniz
[brotli]
Type = ExternalLibrary
SourceDirectory = vendor/brotli/c/common
SourceDirectory = vendor/brotli/c/dec
SourceDirectory = vendor/brotli/c/enc
IncludeDirectory = vendor/brotli/c/include
Definitions_macOS = OS_MACOSX
[wren]
Type = ExternalLibrary
SourceDirectory = vendor/wren/src/vm
SourceDirectory = vendor/wren/src/optional
IncludeDirectory = vendor/wren/src/vm
IncludeDirectory = vendor/wren/src/optional
IncludeDirectory = vendor/wren/src/include
[libmicrohttpd]
Type = ExternalLibrary
SourceDirectory = vendor/libmicrohttpd/src/microhttpd
SourceIgnore = connection_https.c test_*.c
IncludeDirectory = vendor/libmicrohttpd
IncludeDirectory = vendor/libmicrohttpd/src/include
Link_Windows = ws2_32
[libsodium]
Type = ExternalLibrary
SourceDirectoryRec = vendor/libsodium/src/libsodium
IncludeDirectory = vendor/libsodium/src/libsodium/include
IncludeDirectory = vendor/libsodium/src/libsodium/include/sodium
Definitions = SODIUM_STATIC
Definitions_POSIX = HAVE_PTHREAD
ExportDefinitions = SODIUM_STATIC
[sqlite3mc]
Type = ExternalLibrary
SourceFile = vendor/sqlite3mc/sqlite3mc.c
Definitions = SQLITE_THREADSAFE=1 SQLITE_DQS=0 SQLITE_DEFAULT_MEMSTATUS=0 SQLITE_LIKE_DOESNT_MATCH_BLOBS=1 HAVE_USLEEP
Definitions_Linux = HAVE_MALLOC_H HAVE_MALLOC_USABLE_SIZE HAVE_FDATASYNC HAVE_STRCHRNUL
Features_Windows = -CFI
[imgui]
Type = ExternalLibrary
SourceDirectory = vendor/imgui
[mbedtls]
Type = ExternalLibrary
SourceDirectory = vendor/mbedtls/library
IncludeDirectory = vendor/mbedtls/include
Link_Windows = advapi32
[libcurl]
Type = ExternalLibrary
SourceDirectoryRec = vendor/curl/lib
IncludeDirectory = vendor/curl/include
IncludeDirectory = vendor/curl/lib
IncludeDirectory = vendor/mbedtls/include
Definitions = BUILDING_LIBCURL USE_IPV6 USE_MBEDTLS CURL_DISABLE_LDAP CURL_STATICLIB
ExportDefinitions = CURL_STATICLIB
Link_Windows = advapi32 bcrypt
ImportFrom = mbedtls
PrecompileC = vendor/curl/lib/curl_setup.h
[glfw]
Type = ExternalLibrary
Hosts = Linux Windows
SourceFile = vendor/glfw/src/context.c
SourceFile = vendor/glfw/src/init.c
SourceFile = vendor/glfw/src/input.c
SourceFile = vendor/glfw/src/monitor.c
SourceFile = vendor/glfw/src/vulkan.c
SourceFile = vendor/glfw/src/window.c
SourceFile = vendor/glfw/src/egl_context.c
SourceFile = vendor/glfw/src/osmesa_context.c
SourceFile_Windows = vendor/glfw/src/win32_init.c
SourceFile_Windows = vendor/glfw/src/win32_joystick.c
SourceFile_Windows = vendor/glfw/src/win32_monitor.c
SourceFile_Windows = vendor/glfw/src/win32_time.c
SourceFile_Windows = vendor/glfw/src/win32_thread.c
SourceFile_Windows = vendor/glfw/src/win32_window.c
SourceFile_Windows = vendor/glfw/src/wgl_context.c
SourceFile_POSIX = vendor/glfw/src/x11_init.c
SourceFile_POSIX = vendor/glfw/src/x11_monitor.c
SourceFile_POSIX = vendor/glfw/src/x11_window.c
SourceFile_POSIX = vendor/glfw/src/xkb_unicode.c
SourceFile_POSIX = vendor/glfw/src/posix_time.c
SourceFile_POSIX = vendor/glfw/src/posix_thread.c
SourceFile_POSIX = vendor/glfw/src/glx_context.c
SourceFile_POSIX = vendor/glfw/src/linux_joystick.c
Definitions_Windows = _GLFW_WIN32
Definitions_POSIX = _GLFW_X11
Link_Windows = shell32 gdi32 opengl32 imm32 user32 winmm
Link_POSIX = X11 GL
[re2]
Type = ExternalLibrary
SourceDirectory = vendor/re2/re2
SourceFile = vendor/re2/util/rune.cc
SourceFile = vendor/re2/util/strutil.cc
IncludeDirectory = vendor/re2
Definitions_Windows = NOMINMAX
[pugixml]
Type = ExternalLibrary
SourceFile = vendor/pugixml/src/pugixml.cpp
[libseccomp]
Type = ExternalLibrary
Hosts = Linux
SourceDirectory = vendor/libseccomp/src
SourceIgnore = arch-syscall-*.c
IncludeDirectory = vendor/libseccomp
IncludeDirectory = vendor/libseccomp/include
[libhs]
Type = ExternalLibrary
Hosts = Windows Linux macOS
SourceDirectory = vendor/libhs
SourceIgnore = libhs.c
Link_Windows = setupapi hid
Link_Linux = udev
Link_macOS = !IOKit
[basu]
Type = ExternalLibrary
Hosts = Linux
SourceDirectory = vendor/basu/src/basic
SourceDirectoryRec = vendor/basu/src/libsystemd
SourceIgnore = cap-list.c capability-util.c test-*
IncludeDirectory = vendor/basu/src/basic
IncludeDirectory = vendor/basu/src/systemd
IncludeDirectory = vendor/basu/src/libsystemd/sd-bus
IncludeDirectory = vendor/basu/src/libsystemd/sd-daemon
IncludeDirectory = vendor/basu/src/libsystemd/sd-id128
ForceInclude = vendor/basu/config.h
[libsoldout]
Type = ExternalLibrary
SourceDirectory = vendor/libsoldout
[blake3]
Type = ExternalLibrary
SourceFile = vendor/blake3/c/blake3.c
SourceFile = vendor/blake3/c/blake3_dispatch.c
SourceFile = vendor/blake3/c/blake3_portable.c
SourceFile = vendor/blake3/c/blake3_sse2.c
SourceFile = vendor/blake3/c/blake3_sse41.c +SSE41
SourceFile = vendor/blake3/c/blake3_avx2.c +AVX2
SourceFile = vendor/blake3/c/blake3_avx512.c +AVX512
# ------------------------------------------------------------------------
# Projects
# ------------------------------------------------------------------------
[libcc]
Type = Library
SourceDirectory = src/core/libcc
ImportFrom = miniz brotli
PrecompileCXX = src/core/libcc/libcc.hh
Link_Windows = ws2_32 advapi32 ole32 shell32 uuid
[libpasswd]
Type = Library
SourceDirectory = src/core/libpasswd
SourceFile = vendor/qrcodegen/qrcodegen.cpp
SourceIgnore = libpasswd.cc
ImportFrom = libcc mbedtls libsodium
PrecompileCXX = src/core/libcc/libcc.hh
ImportFrom_Linux = libseccomp
[libsandbox]
Type = Library
SourceDirectory = src/core/libsandbox
SourceIgnore = libsandbox.cc
ImportFrom = libcc
PrecompileCXX = src/core/libcc/libcc.hh
ImportFrom_Linux = libseccomp
[libnet]
Type = Library
Hosts = Desktop
SourceDirectory = src/core/libnet
SourceFile = src/core/libwrap/json.cc
SourceIgnore = libnet.cc
ImportFrom = libcc libmicrohttpd libsodium libcurl pugixml
PrecompileCXX = src/core/libcc/libcc.hh
[libsqlite]
Type = Library
SourceDirectory = src/core/libsqlite
SourceIgnore = libsqlite.cc
ImportFrom = sqlite3mc libsodium
PrecompileCXX = src/core/libcc/libcc.hh
[libgui]
Type = Library
Hosts = Linux Windows
SourceDirectory = src/core/libgui
SourceFile = src/core/libwrap/opengl.cc
SourceIgnore = libgui.cc
ImportFrom = imgui
ImportFrom_POSIX = glfw
Link_Windows = gdi32 opengl32 imm32
Link_POSIX = GL
PrecompileCXX = src/core/libcc/libcc.hh
[felix]
Type = Executable
Hosts = Desktop
SourceDirectory = src/felix
SourceFile = src/core/libwrap/json.cc
ImportFrom = libcc pugixml
Link_Windows = advapi32
PrecompileCXX = src/core/libcc/libcc.hh
[libdrd]
Type = Library
SourceDirectory = src/drd/libdrd
SourceIgnore = libdrd.cc
ImportFrom = libcc wren
PrecompileCXX = src/core/libcc/libcc.hh
[drdc]
Type = Executable
SourceDirectory = src/drd/drdc
ImportFrom = libcc libdrd
PrecompileCXX = src/core/libcc/libcc.hh
[thop]
Type = Executable
Hosts = Desktop
SourceDirectory = src/thop/server
SourceFile = src/core/libwrap/json.cc
AssetFile = vendor/lit-html/lit-html.min.js
AssetFile = vendor/chartjs/chart.min.js
AssetFile = vendor/sheetjs/xlsx.core.min.js
AssetDirectory = src/web/libjs
AssetDirectory = src/web/libwidgets
AssetDirectoryRec = src/thop/client
AssetDirectory = vendor/opensans
AssetIgnore = LICENSE.txt
AssetOptions = -cGzip -M src/thop/server/packer.ini
ImportFrom = libcc libdrd libnet libsodium
PrecompileCXX = src/core/libcc/libcc.hh
[goupile]
Type = Executable
Hosts = Desktop
SourceDirectory = src/goupile/server
SourceFile = src/core/libwrap/json.cc
AssetFile = vendor/ace/src-min/ace.js
AssetFile = vendor/ace/src-min/mode-css.js
AssetFile = vendor/ace/src-min/mode-html.js
AssetFile = vendor/ace/src-min/mode-javascript.js
AssetFile = vendor/ace/src-min/theme-merbivore_soft.js
AssetFile = vendor/ace/src-min/theme-monokai.js
AssetFile = vendor/ace/src-min/ext-searchbox.js
AssetFile = vendor/lit-html/lit-html.min.js
AssetFile = vendor/chartjs/chart.min.js
AssetFile = vendor/sheetjs/xlsx.core.min.js
AssetDirectory = vendor/tweetnacl-js
AssetDirectory = vendor/docxtemplater
AssetDirectory = src/web/libjs
AssetDirectoryRec = src/goupile/client
AssetDirectoryRec = src/goupile/demo
AssetDirectory = vendor/opensans
AssetIgnore = LICENSE.txt *.xcf *.md
AssetOptions = -cGzip -M src/goupile/server/packer.ini
ImportFrom = libcc libsqlite libnet libsandbox libpasswd libsodium
PrecompileCXX = src/core/libcc/libcc.hh
[webler]
Type = Executable
SourceDirectory = src/webler
AssetFile = src/webler/webler.css
AssetFile = src/webler/webler.js
AssetDirectory = vendor/opensans
AssetOptions = -cGzip -sAll
ImportFrom = libcc libsoldout
PrecompileCXX = src/core/libcc/libcc.hh
[libheimdall]
Type = Library
Hosts = Linux Windows
SourceDirectory = src/heimdall/libheimdall
SourceIgnore = libheimdall.cc
ImportFrom = libcc libgui imgui
PrecompileCXX = src/core/libcc/libcc.hh
[heimdallw]
Type = Executable
Hosts = Linux Windows
SourceDirectory = src/heimdall/heimdallw
ImportFrom = libcc libheimdall
PrecompileCXX = src/core/libcc/libcc.hh
[authool]
Type = Executable
SourceDirectory = src/authool
ImportFrom = libcc libsodium libpasswd
PrecompileCXX = src/core/libcc/libcc.hh
[pilite]
Type = Executable
Hosts = Desktop
SourceDirectory = src/pilite
ImportFrom = libcc libsqlite
PrecompileCXX = src/core/libcc/libcc.hh
[seatsh]
Type = Executable
Hosts = Windows
SourceDirectory = src/seatsh
ImportFrom = libcc
PrecompileCXX = src/core/libcc/libcc.hh
Link = wtsapi32 userenv
[meestic]
Type = Executable
Hosts = Windows Linux
SourceDirectory = src/meestic
SourceIgnore = meestic_*.cc
ImportFrom = libcc libhs
PrecompileCXX = src/core/libcc/libcc.hh
[MeesticGui]
Type = Executable
Hosts = Windows
IconFile_Windows = src/meestic/images/meestic.ico
SourceDirectory = src/meestic
SourceIgnore = meestic.cc
ImportFrom = libcc libhs
PrecompileCXX = src/core/libcc/libcc.hh
Link_Windows = shell32 comctl32
Features_Windows = NoConsole
Features_Linux = -HotAssets
[libblikk]
Type = Library
Hosts = Desktop Emscripten
SourceDirectory = src/blikk/libblikk
SourceIgnore = libblikk.cc
ImportFrom = libcc
PrecompileCXX = src/core/libcc/libcc.hh
[blikk]
Type = Executable
Hosts = Desktop Emscripten
SourceDirectory = src/blikk/blikk
ImportFrom = libcc libsandbox libblikk
PrecompileCXX = src/core/libcc/libcc.hh
[rekord]
Type = Executable
SourceDirectory = src/rekord
ImportFrom = libcc libsodium libnet libpasswd blake3 libsqlite
PrecompileCXX = src/core/libcc/libcc.hh
[napka]
Type = Executable
Hosts = Windows Linux macOS
SourceDirectory = src/napka/server
AssetDirectoryRec = src/napka/client
AssetDirectory = src/web/libjs
AssetDirectory = vendor/opensans
AssetFile = vendor/leaflet/leaflet.js
AssetFile = vendor/leaflet/leaflet.js.map
AssetFile = vendor/leaflet/leaflet.css
AssetDirectory = vendor/leaflet/images
AssetFile = vendor/lit-html/lit-html.min.js
AssetOptions = -cGzip -M src/napka/server/packer.ini
ImportFrom = libcc libnet
PrecompileCXX = src/core/libcc/libcc.hh
# ------------------------------------------------------------------------
# Tests
# ------------------------------------------------------------------------
[tests]
Type = Executable
EnableByDefault = Off
SourceDirectoryRec = test
SourceIgnore = fmt/test/**
IncludeDirectory = test/vendor/fmt/include
ImportFrom = libcc
Link_Windows = shlwapi
PrecompileCXX = src/core/libcc/libcc.hh