summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-07-16 17:56:18 (GMT)
committerGitHub <noreply@github.com>2020-07-16 17:56:18 (GMT)
commitfd04bda8fad6ec6f3f312cd42b1c441ca08611d3 (patch)
treeb4bfab5834fd3cf28347b96bd5e83eab23a8c701
parent5222bfb61e0585f04da355d1adbf0e0e1efb74a0 (diff)
parentdb6bd049f2b89d72e1287260cc894e4994eedbf6 (diff)
downloadDoxygen-fd04bda8fad6ec6f3f312cd42b1c441ca08611d3.zip
Doxygen-fd04bda8fad6ec6f3f312cd42b1c441ca08611d3.tar.gz
Doxygen-fd04bda8fad6ec6f3f312cd42b1c441ca08611d3.tar.bz2
Merge pull request #7795 from wataash/lex-absolute-path
Improve bison/flex debug possibility with gdb
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c8f1b86..221ff46 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -136,14 +136,14 @@ foreach(lex_file ${LEX_FILES})
)
FLEX_TARGET(${lex_file}
- ${lex_file}.l
+ ${CMAKE_CURRENT_LIST_DIR}/${lex_file}.l
${GENERATED_SRC}/${lex_file}.cpp
COMPILE_FLAGS "${LEX_FLAGS}")
endforeach()
BISON_TARGET(constexp
- constexp.y
+ ${CMAKE_CURRENT_LIST_DIR}/constexp.y
${GENERATED_SRC}/ce_parse.cpp
COMPILE_FLAGS "${YACC_FLAGS}")