Browse Source

Zig cross compilation

zig-compilation
Macoy Madson 10 months ago
parent
commit
8815e05bb2
  1. 4
      src/Config_ZigWindows.cake
  2. 2
      test/src/GameLibTests.cake

4
src/Config_ZigWindows.cake

@ -0,0 +1,4 @@
(add-build-options "-target x86_64-windows-gnu")
;; (add-compiler-link-options "-target x86_64-windows-gnu")
(comptime-define-symbol 'Windows)

2
test/src/GameLibTests.cake

@ -49,7 +49,7 @@
(gamelib-run-test
"Auto Test (somewhat minimal)"
(array platform-config
"../src/Config_ZigCompile.cake"
"../src/Config_ZigCompile.cake" "../src/Config_ZigWindows.cake"
"../src/AutoTest.cake" "../src/Introspection.cake"
"../src/Dictionary.cake" "../src/DynamicArray.cake"
"../src/TaskSystem.cake" "../src/Image.cake" "../src/DataBundle.cake")))

Loading…
Cancel
Save