From 8d010ef990fc7dcfdfef81f33f11b6acd7ee0454 Mon Sep 17 00:00:00 2001 From: Darcy Shen Date: Thu, 26 Oct 2023 23:20:03 +0800 Subject: [PATCH] [12_22] add releasedbg, debug and release modes --- xmake.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xmake.lua b/xmake.lua index f2fa809ee..28035dd15 100644 --- a/xmake.lua +++ b/xmake.lua @@ -1,5 +1,9 @@ set_xmakever("2.8.3") +-- add releasedbg, debug and release modes. +set_allowedmodes("releasedbg", "release", "debug") +add_rules("mode.releasedbg", "mode.release", "mode.debug") + set_project("lolly") set_languages("c++17")