adapt: adapt LeviLamina 1.0.0-rc.3 and GMLIB-0.9.10

This commit is contained in:
子沐呀
2025-01-14 13:30:39 +08:00
Unverified
parent e27eb3fdf1
commit 65f16f9fca
11 changed files with 125 additions and 99 deletions
+9 -3
View File
@@ -9,7 +9,8 @@ end
-- Option 1: Use the latest version of LeviLamina released on GitHub.
add_requires("levilamina")
add_requires("gmlib 0.13.7")
add_requires("levibuildscript")
add_requires("gmlib")
target("Cleaner") -- Change this to your mod name.
add_cxflags(
@@ -26,9 +27,14 @@ target("Cleaner") -- Change this to your mod name.
"levilamina",
"gmlib"
)
add_shflags(
"/DELAYLOAD:bedrock_server.dll"
add_defines(
"NOMINMAX",
"UNICODE",
"_HAS_CXX17",
"_HAS_CXX20",
"_HAS_CXX23"
)
add_rules("@levibuildscript/linkrule")
set_exceptions("none")
set_kind("shared")
set_languages("cxx23")