Automatically generate Expr.java using GenerateAst
This commit is contained in:
parent
2e15e8bab8
commit
f6cdbabe1c
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ include(UseJava)
|
|||
|
||||
project(Lox NONE)
|
||||
|
||||
add_custom_command(OUTPUT com/craftinginterpreters/lox/Expr.java
|
||||
COMMAND java -jar GenerateAst.jar com/craftinginterpreters/lox
|
||||
DEPENDS GenerateAst)
|
||||
|
||||
add_jar(Lox
|
||||
com/craftinginterpreters/lox/Lox.java
|
||||
com/craftinginterpreters/lox/TokenType.java
|
||||
|
|
Loading…
Reference in a new issue