소스 검색

add debug and release mode (#2585)

ruki 2 년 전
부모
커밋
633fc6db2f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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