소스 검색

lex and yacc

myuan 2 년 전
부모
커밋
6af9f69625
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      xmake.lua

+ 2 - 1
xmake.lua

@@ -2,7 +2,8 @@ add_rules("mode.debug", "mode.release")
 
 target("sql-parser")
     set_kind("binary")
-    add_files("src/*.c")
+    add_rules("lex", "yacc")
+    add_files("src/*.l", "src/*.y")
 
 --
 -- If you want to known more usage about xmake, please see https://xmake.io