mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
use xmake for tests, xmake -O3
This commit is contained in:
parent
9e0ae43291
commit
d7bd4366e7
2 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
compiler=../_build/default/src/Driver.exe
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ set_languages("c++20", "c11")
|
||||||
|
|
||||||
target("byterun")
|
target("byterun")
|
||||||
set_kind("binary")
|
set_kind("binary")
|
||||||
|
add_cxflags("-O3")
|
||||||
add_includedirs("include", "../runtime")
|
add_includedirs("include", "../runtime")
|
||||||
add_files("../runtime/**.c", "../runtime/**.S")
|
add_files("../runtime/**.c", "../runtime/**.S")
|
||||||
add_files( "src/**.cpp", "src/**.c")
|
add_files( "src/**.cpp", "src/**.c")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue