summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/lex.prf
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@intopalo.com>2015-09-24 09:10:29 +0300
committerAndrew Knight <andrew.knight@intopalo.com>2015-09-24 13:49:29 +0000
commit90ef87578515d7321105981b8c15fa88ae4c926a (patch)
tree0a3b0efd99c37c91d3670989815b3754a08481b3 /mkspecs/features/lex.prf
parent231199798ab3eff88ab87511af1dd87630173adb (diff)
Use QMAKE_MOD_LEX/QMAKE_MOD_YACC in lex/yacc features
These variables were defined but never used in the respective qmake features. Utilizing them allows more control over the output file name. Change-Id: I5ba96c5cd330b18dc060f563186992fe3bd27b49 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/lex.prf')
-rw-r--r--mkspecs/features/lex.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/lex.prf b/mkspecs/features/lex.prf
index 19ffe1932c..1ca9ae8afa 100644
--- a/mkspecs/features/lex.prf
+++ b/mkspecs/features/lex.prf
@@ -26,7 +26,7 @@
$(MOVE) $$intermediate_file ${QMAKE_FILE_OUT} $$escape_expand(\\n\\t)
unset(intermediate_file)
}
- lex.output = $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}_lex$${first(QMAKE_EXT_CPP)}
+ lex.output = $${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}$${QMAKE_MOD_LEX}$${first(QMAKE_EXT_CPP)}
silent:lex.commands = @echo Lex ${QMAKE_FILE_IN} && $$lex.commands
QMAKE_EXTRA_COMPILERS += lex