From 28c59143b26d2be5b20b0f0391438df83a5be29a Mon Sep 17 00:00:00 2001 From: Zijian Zhang Date: Mon, 25 Dec 2023 21:32:17 +0800 Subject: [PATCH] build: specify LeviLamina version and ask developers to change it --- README.md | 2 +- xmake.lua | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5ad1440..1fcdf78 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/xmake.lua b/xmake.lua index e59ba88..4b77f69 100644 --- a/xmake.lua +++ b/xmake.lua @@ -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") @@ -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)