We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53d4fb5 commit 069ab34Copy full SHA for 069ab34
src/CMakeLists.txt
@@ -23,6 +23,7 @@ macro(generic_bison name)
23
endif()
24
25
set(bison_source "${name}_y.tab.cpp")
26
+ set_source_files_properties(${bison_source} PROPERTIES COMPILE_FLAGS -Dyyalloc=${name}_yyalloc)
27
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${bison_source}")
28
message(FATAL_ERROR "Generated file ${bison_source} found in source tree. If you previously built with `make`, run `make clean` and try again")
29
0 commit comments