adapt: adapt gmlib 1.0.0-rc.2 and levilamina 1.1.0
This commit is contained in:
@@ -2,16 +2,18 @@ add_rules("mode.debug", "mode.release")
|
||||
|
||||
add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git")
|
||||
add_repositories("groupmountain-repo https://github.com/GroupMountain/xmake-repo.git")
|
||||
add_repositories("miracleforest-repo https://github.com/MiracleForest/xmake-repo.git")
|
||||
|
||||
if not has_config("vs_runtime") then
|
||||
set_runtimes("MD")
|
||||
end
|
||||
|
||||
add_requires("levilamina", {configs = {target_type = "server"}})
|
||||
add_requires("levilamina 1.1.0", {configs = {target_type = "server"}})
|
||||
add_requires("legacyremotecall")
|
||||
add_requires("gmlib")
|
||||
add_requires("levibuildscript")
|
||||
|
||||
add_requires("ilistenattentively")
|
||||
|
||||
target("GMLIB-LegacyRemoteCallApi")
|
||||
add_cxflags(
|
||||
"/EHa",
|
||||
@@ -19,7 +21,8 @@ target("GMLIB-LegacyRemoteCallApi")
|
||||
)
|
||||
add_defines(
|
||||
"NOMINMAX",
|
||||
"UNICODE"
|
||||
"UNICODE",
|
||||
"_HAS_CXX23=1"
|
||||
)
|
||||
add_files(
|
||||
"src/**.cpp"
|
||||
@@ -30,12 +33,13 @@ target("GMLIB-LegacyRemoteCallApi")
|
||||
add_packages(
|
||||
"levilamina",
|
||||
"legacyremotecall",
|
||||
"gmlib"
|
||||
"gmlib",
|
||||
"ilistenattentively"
|
||||
)
|
||||
add_rules("@levibuildscript/linkrule")
|
||||
set_exceptions("none")
|
||||
set_kind("shared")
|
||||
set_languages("c++23")
|
||||
set_languages("cxx20")
|
||||
set_symbols("debug")
|
||||
|
||||
after_build(function (target)
|
||||
|
||||
Reference in New Issue
Block a user