windows build fixes

This commit is contained in:
CJ van den Berg 2024-06-05 20:32:30 +02:00
parent 3121af2ec4
commit 1d116f8fa8
15 changed files with 137 additions and 31 deletions

5
zig
View file

@ -47,10 +47,11 @@ get_zig() {
get_zig
if [ "$1" == "cdb" ] ; then
rm -rf zig-cache
shift
rm -rf .zig-cache
rm -rf .cache/cdb
$ZIG build
$ZIG build "$@"
(echo \[ ; cat .cache/cdb/* ; echo {}\]) | perl -0777 -pe 's/,\n\{\}//igs' | jq . | grep -v 'no-default-config' > compile_commands.json
exit 0