Commit e5f5d284 authored by Bednárek David RNDr. Ph.D.'s avatar Bednárek David RNDr. Ph.D.
Browse files

cmake now generates a human-readable dump of the automaton produced by bison, located in

<build_folder>/stud-sol/caparser.y.output
parent 23e45135
......@@ -115,7 +115,7 @@ function(FLEX_BISON_SOURCE TARGET LEXFNAME YFNAME LEXCPP YCPP YHPP)
get_filename_component(YFNAME_PATH "${YFNAME}" ABSOLUTE)
FLEX_TARGET("${LEXCPP}" "${LEXFNAME_PATH}" "${CMAKE_CURRENT_BINARY_DIR}/${LEXCPP}")
BISON_TARGET("${YCPP}" "${YFNAME_PATH}" "${CMAKE_CURRENT_BINARY_DIR}/${YCPP}" DEFINES_FILE "${CMAKE_CURRENT_BINARY_DIR}/${YHPP}")
BISON_TARGET("${YCPP}" "${YFNAME_PATH}" "${CMAKE_CURRENT_BINARY_DIR}/${YCPP}" DEFINES_FILE "${CMAKE_CURRENT_BINARY_DIR}/${YHPP}" VERBOSE REPORT_FILE "${CMAKE_CURRENT_BINARY_DIR}/${YFNAME}.output")
ADD_FLEX_BISON_DEPENDENCY("${LEXCPP}" "${YCPP}")
DEFINE_FLEX_SOURCE("${TARGET}" "${LEXFNAME}" "${LEXCPP}" "${YHPP}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment