Add parser-scanner dependency to CMake rules.
This commit is contained in:
parent
07bdbbe55e
commit
2d2fd93e2c
|
@ -32,6 +32,7 @@ add_definitions(-Wall -Wno-deprecated-register -std=c++0x -DYYDEBUG=0 -O2)
|
|||
|
||||
bison_target(Parser Monicelli.ypp ${CMAKE_CURRENT_BINARY_DIR}/Parser.cpp)
|
||||
flex_target(Scanner Monicelli.lpp ${CMAKE_CURRENT_BINARY_DIR}/Lexer.cpp)
|
||||
add_flex_bison_dependency(Scanner Parser)
|
||||
|
||||
add_executable(
|
||||
mcc
|
||||
|
|
Reference in New Issue
Block a user