This commit is contained in:
13
xmake.lua
13
xmake.lua
@@ -7,11 +7,12 @@ target("Fig")
|
|||||||
set_kind("binary")
|
set_kind("binary")
|
||||||
set_languages("c++23")
|
set_languages("c++23")
|
||||||
|
|
||||||
set_plat("mingw")
|
if is_plat("windows") then
|
||||||
|
set_plat("mingw")
|
||||||
add_cxxflags("-static")
|
add_cxxflags("-static")
|
||||||
add_cxxflags("-stdlib=libc++")
|
add_cxxflags("-stdlib=libc++")
|
||||||
add_ldflags("-Wl,--stack,268435456")
|
add_ldflags("-Wl,--stack,268435456")
|
||||||
|
end
|
||||||
|
|
||||||
add_files("src/main.cpp")
|
add_files("src/main.cpp")
|
||||||
add_files("src/Core/warning.cpp")
|
add_files("src/Core/warning.cpp")
|
||||||
@@ -24,4 +25,4 @@ target("Fig")
|
|||||||
|
|
||||||
set_warnings("all")
|
set_warnings("all")
|
||||||
|
|
||||||
add_defines("__FCORE_COMPILE_TIME=\"" .. os.date("%Y-%m-%d %H:%M:%S") .. "\"")
|
add_defines("__FCORE_COMPILE_TIME=\"" .. os.date("%Y-%m-%d %H:%M:%S") .. "\"")
|
||||||
|
|||||||
Reference in New Issue
Block a user