Skip to content

Commit

Permalink
build: specify LeviLamina version and ask developers to change it
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Dec 25, 2023
1 parent bb75557 commit 28c5914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Before using this plugin template, make sure that you have installed XMake and a

1. Clone the new repository into a local folder.

1. Change the plugin name in `xmake.lua`.
1. Change the plugin name and the expected LeviLamina version in `xmake.lua`.

1. Add your code.

Expand Down
5 changes: 2 additions & 3 deletions xmake.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git")

add_requires("levilamina *")
add_requires("levilamina 0.2.1") -- Change this to your expected version.

if not has_config("vs_runtime") then
set_runtimes("MD")
Expand Down Expand Up @@ -57,7 +56,7 @@ target("levilamina-plugin-template") -- Change this to your plugin name.
)
set_exceptions("none")
set_kind("shared")
set_languages("c++20")
set_languages("cxx20")
set_strip("all")

after_build(function (target)
Expand Down

0 comments on commit 28c5914

Please sign in to comment.