feat: adapt gmlib 1.0.0
This commit is contained in:
@@ -9,10 +9,10 @@ if not has_config("vs_runtime") then
|
||||
end
|
||||
|
||||
-- Option 1: Use the latest version of LeviLamina released on GitHub.
|
||||
add_requires("levilamina")
|
||||
add_requires("levibuildscript")
|
||||
add_requires("gmlib")
|
||||
add_requires("ilistenattentively")
|
||||
add_requires("levilamina 1.1.1")
|
||||
add_requires("levibuildscript 0.3.0")
|
||||
add_requires("gmlib 1.0.0")
|
||||
add_requires("ilistenattentively 0.4.1")
|
||||
|
||||
target("Cleaner") -- Change this to your mod name.
|
||||
add_cxflags(
|
||||
@@ -32,15 +32,13 @@ target("Cleaner") -- Change this to your mod name.
|
||||
)
|
||||
add_defines(
|
||||
"NOMINMAX",
|
||||
"UNICODE",
|
||||
"_HAS_CXX17",
|
||||
"_HAS_CXX20",
|
||||
"_HAS_CXX23"
|
||||
"UNICODE",
|
||||
"_HAS_CXX23=1"
|
||||
)
|
||||
add_rules("@levibuildscript/linkrule")
|
||||
set_exceptions("none")
|
||||
set_kind("shared")
|
||||
set_languages("cxx23")
|
||||
set_languages("cxx20")
|
||||
|
||||
after_build(function (target)
|
||||
local mod_packer = import("scripts.after_build")
|
||||
|
||||
Reference in New Issue
Block a user