Browse Source

add debug and release mode (#2585)

ruki 2 years ago
parent
commit
633fc6db2f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/l/lua/xmake.lua

+ 2 - 0
packages/l/lua/xmake.lua

@@ -55,6 +55,8 @@ package("lua")
         end
 
         io.writefile("xmake.lua", format([[
+            add_rules("mode.release", "mode.debug")
+
             local sourcedir = "%s"
             local kind = "%s"
             local enabled = %s