build: generate hex dump of server assets during build (#6661)

* `build`: generate hex dumps of server assets on the fly

* build: workaround lack of -n on gnu xxd

* build: don't use xxd in cmake

* build: don't call xxd from build.zig

* build: more idiomatic hexing

* build: don't use xxd in Makefile (od hackery instead)

* build: avoid exceeding max cmd line limit in makefile hex dump

* build: hex dump assets at cmake build time (not config time)
This commit is contained in:
Olivier Chafik 2024-04-21 18:48:53 +01:00 committed by GitHub
parent 40f74e4d73
commit 5cf5e7d490
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 78 additions and 7129 deletions

4
.gitignore vendored
View file

@ -34,6 +34,7 @@ lcov-report/
gcovr-report/
build*
!build.zig
cmake-build-*
out/
tmp/
@ -100,6 +101,9 @@ qnt-*.txt
perf-*.txt
examples/jeopardy/results.txt
examples/server/*.html.hpp
examples/server/*.js.hpp
examples/server/*.mjs.hpp
poetry.lock
poetry.toml