myuan %!s(int64=2) %!d(string=hai) anos
pai
achega
6af9f69625
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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