mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
xmake initial build, uint -> uint32_t (stdlib test 03 fails with xmake, possible due to newer c and c++ versions)
This commit is contained in:
parent
c348af161c
commit
6c19722d9e
11 changed files with 64 additions and 46 deletions
|
|
@ -1,14 +1,15 @@
|
|||
-- add_rules("mode.debug", "mode.release")
|
||||
-- add_rules("c++.unity_build")
|
||||
|
||||
set_languages("c++20", "c20")
|
||||
set_languages("c++23", "c23")
|
||||
|
||||
target("byterun")
|
||||
set_kind("binary")
|
||||
add_includedirs("include")
|
||||
add_files("../runtime/runtime.a")
|
||||
add_files("../runtime/**.c", "../runtime/**.S")
|
||||
add_files("src/**.cpp", "src/**.c")
|
||||
remove_files("src/compiler.cpp")
|
||||
set_warnings("allextra")
|
||||
set_rundir("$(projectdir)")
|
||||
add_defines("WITH_CHECK")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue