use xmake for tests, xmake -O3

This commit is contained in:
ProgramSnail 2025-06-09 17:08:41 +03:00
parent 9e0ae43291
commit d7bd4366e7
2 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,9 @@
#!/usr/bin/env bash
dune build > /dev/null
xmake build
cp "build/linux/x86_64/release/byterun" byterun.exe
# dune build > /dev/null
compiler=../_build/default/src/Driver.exe

View file

@ -5,6 +5,7 @@ set_languages("c++20", "c11")
target("byterun")
set_kind("binary")
add_cxflags("-O3")
add_includedirs("include", "../runtime")
add_files("../runtime/**.c", "../runtime/**.S")
add_files( "src/**.cpp", "src/**.c")