test act runner3 !

This commit is contained in:
2026-01-03 14:58:38 +08:00
parent d6b8915d7a
commit 0cdd393d6b
2 changed files with 175 additions and 25 deletions

View File

@@ -7,20 +7,15 @@ target("Fig")
set_kind("binary")
set_languages("c++23")
if is_plat("windows") then
set_plat("mingw")
if is_plat("linux") then
add_cxxflags("-static-libstdc++", "-static-libgcc")
add_ldflags("-static")
elseif is_plat("mingw") then
add_cxxflags("-static")
add_ldflags("-Wl,--stack,268435456")
elseif is_plat("linux") then
add_ldflags("-static-libstdc++", "-static-libgcc")
end
if is_plat("windows") then
set_filename("Fig.exe")
else
set_filename("Fig")
add_ldflags("-static")
end
add_ldflags("-Wl,--stack,268435456")
add_files("src/main.cpp")