summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-12-08 17:43:22 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-12-08 17:43:22 (GMT)
commitbeb2ff6c39fefbd6aaeecd5de9827d1b1947740b (patch)
tree7c426e780bedbe5ac1be1bffcce105e403f45628 /addon/doxywizard
parent12b28cf18d559d8b1010c8c712ea5557afdc1481 (diff)
downloadDoxygen-beb2ff6c39fefbd6aaeecd5de9827d1b1947740b.zip
Doxygen-beb2ff6c39fefbd6aaeecd5de9827d1b1947740b.tar.gz
Doxygen-beb2ff6c39fefbd6aaeecd5de9827d1b1947740b.tar.bz2
Adding compilation options for flex/lex and bison/yacc
Adding the options LAEX_FLAGS and YACC_FLAGS to the COMPILE_FLAGS for flex/lex bison/yacc to create more flexibility during compilation. Example: when one wants to compile e.g. fortranscanner.l with the flex debug flag -d one can perform the following steps: - touch fortranscanner.l in te src directory - run make LEX_FLAGS=-d or set environment variable LEX_FLAGS to -d run make to undo this touch again forttranscanner -l and run make (don't forget to unset the environment variable LEX_FLAGS) Analogous for bison/yacc wit the YACC_FLAGS
Diffstat (limited to 'addon/doxywizard')
-rw-r--r--addon/doxywizard/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/doxywizard/CMakeLists.txt b/addon/doxywizard/CMakeLists.txt
index 9971679..bf2eda8 100644
--- a/addon/doxywizard/CMakeLists.txt
+++ b/addon/doxywizard/CMakeLists.txt
@@ -76,7 +76,7 @@ OUTPUT ${GENERATED_SRC_WIZARD}/configdoc.cpp
)
set_source_files_properties(${GENERATED_SRC_WIZARD}/configdoc.cpp PROPERTIES GENERATED 1)
-FLEX_TARGET(config_doxyw config_doxyw.l ${GENERATED_SRC_WIZARD}/config_doxyw.cpp COMPILE_FLAGS "-Pconfig_doxywYY")
+FLEX_TARGET(config_doxyw config_doxyw.l ${GENERATED_SRC_WIZARD}/config_doxyw.cpp COMPILE_FLAGS "$(LEX_FLAGS) -Pconfig_doxywYY")
qt_wrap_cpp(doxywizard_MOC
doxywizard.h