aboutsummaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2019-02-22 13:12:23 +0100
committerRobert Griebl <robert.griebl@pelagicore.com>2019-02-26 16:13:30 +0000
commitce579d17ff1e935e38b4b3bfdda9cbf617ce0426 (patch)
tree2601e9ace7a5f76aec7ec830377a5c9dd1c51720 /mkspecs
parenta452dff8294ad31ada1d8f40dcd672e5c68bd981 (diff)
ivigenerator: Improve the qmake integration
Run the generator again when generate.py or files in the common template folder change. Change-Id: Ib153745f18cbc93d47926e32ba358e9897617a61 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/ivigenerator.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf
index 88f5e9a..399ab02 100644
--- a/mkspecs/features/ivigenerator.prf
+++ b/mkspecs/features/ivigenerator.prf
@@ -91,7 +91,8 @@ else: SLEEP = sleep 1
qface_sources.target = $$relative_path($$PRI, $$OUT_PWD)
qface_sources.commands = $$SLEEP && $$ENV $$shell_path($$IVI_GENERATOR) $$IVI_GENERATOR_OPTIONS $$shell_path($$QFACE_ABS_PWD/$${QFACE_FILE}) $$shell_path($$QFACE_OUTPUT_DIR)
qface_sources.depends = $$IVI_GENERATOR_PATH/generate.py
-qface_sources.depends = $$QFACE_ABS_PWD/$${QFACE_FILE}
+qface_sources.depends += $$QFACE_ABS_PWD/$${QFACE_FILE}
+qface_sources.depends += $$files($$IVI_GENERATOR_PATH/common/*)
# Add all templates of the generator format as dependency
QFACE_TEMPLATE_PWD = $$IVI_GENERATOR_PATH/templates_$${QFACE_FORMAT}