From 2d2fd93e2ce1bdf88daff2a98443a4ddd6630d9e Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Thu, 4 Dec 2014 21:50:15 +0100 Subject: [PATCH] Add parser-scanner dependency to CMake rules. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 18fd92e..3be8b9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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