Skip to content

Commit

Permalink
build: add more choices
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Jan 5, 2024
1 parent 9237c3d commit 9a7276a
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,45 @@
add_rules("mode.debug", "mode.release", "mode.releasedbg")

add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git")
add_requires("levilamina") -- or add_requires("levilamina x.x.x") to specify target LeviLamina version

if not has_config("vs_runtime") then
set_runtimes("MD")
end

-- Option 1: Use the latest version of LeviLamina released on GitHub.
add_requires("levilamina")

-- Option 2: Use a specific version of LeviLamina released on GitHub.
-- add_requires("levilamina x.x.x")

-- Option 3: Use the latest commit of LeviLamina on GitHub.
-- -- Here, "develop" is the branch name. You can change it to any branch name you want.
-- add_requires("levilamina develop")
-- -- You can also use debug build of LeviLamina.
-- -- add_requires("levilamina develop", {debug = true})
-- package("levilamina")
-- add_urls("https://github.com/LiteLDev/LeviLamina.git")

-- add_deps("ctre 3.8.1")
-- add_deps("entt 3.12.2")
-- add_deps("fmt 10.1.1")
-- add_deps("gsl 4.0.0")
-- add_deps("leveldb 1.23")
-- add_deps("magic_enum 0.9.0")
-- add_deps("nlohmann_json 3.11.2")
-- add_deps("rapidjson 1.1.0")
-- add_deps("pcg_cpp 1.0.0")
-- add_deps("pfr 2.1.1")
-- add_deps("preloader 1.4.0")
-- add_deps("symbolprovider 1.1.0")

-- -- You may need to change this to the target BDS version of your choice.
-- add_deps("bdslibrary 1.20.50.03")

-- on_install(function (package)
-- import("package.tools.xmake").install(package)
-- end)

target("plugin") -- Change this to your plugin name.
add_cxflags(
"/EHa",
Expand Down

0 comments on commit 9a7276a

Please sign in to comment.