feat: adapt gmlib 1.0.0

This commit is contained in:
zimuya4153
2025-04-14 22:44:24 +08:00
Unverified
parent 5bca67d884
commit a3a3c103fb
11 changed files with 57 additions and 41 deletions
+7 -9
View File
@@ -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")