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 3d3be74 commit 5ae363eCopy full SHA for 5ae363e
src/CMakeLists.txt
@@ -25,6 +25,7 @@ macro(generic_bison name)
25
endif()
26
27
set(bison_source "${name}_y.tab.cpp")
28
+ set_source_files_properties(${bison_source} PROPERTIES COMPILE_FLAGS -Dyyalloc=${name}_yyalloc)
29
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${bison_source}")
30
message(FATAL_ERROR "Generated file ${bison_source} found in source tree. If you previously built with `make`, run `make clean` and try again")
31
0 commit comments