Add parser-scanner dependency to CMake rules.

This commit is contained in:
Stefano Sanfilippo 2014-12-04 21:50:15 +01:00
parent 07bdbbe55e
commit 2d2fd93e2c

View File

@ -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) bison_target(Parser Monicelli.ypp ${CMAKE_CURRENT_BINARY_DIR}/Parser.cpp)
flex_target(Scanner Monicelli.lpp ${CMAKE_CURRENT_BINARY_DIR}/Lexer.cpp) flex_target(Scanner Monicelli.lpp ${CMAKE_CURRENT_BINARY_DIR}/Lexer.cpp)
add_flex_bison_dependency(Scanner Parser)
add_executable( add_executable(
mcc mcc