summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorAndy Shaw <qt-info@nokia.com>2009-07-15 07:10:16 (GMT)
committerAndy Shaw <qt-info@nokia.com>2009-07-15 07:10:16 (GMT)
commit6b9328056591af2c48bed67f372693f030ba8c20 (patch)
treece19291f73e32d0e2df6cfa76be4bec9d2e6c218 /mkspecs
parentc22a0186b5255af45f0b36acbde600de0e614266 (diff)
downloadQt-6b9328056591af2c48bed67f372693f030ba8c20.zip
Qt-6b9328056591af2c48bed67f372693f030ba8c20.tar.gz
Qt-6b9328056591af2c48bed67f372693f030ba8c20.tar.bz2
Don't cause a rebuild of the application when mocinclude.tmp is used
Since the mocinclude.tmp file was a dependency of all the generated moc files, it would always cause a rebuild of the code when doing a make. Reviewed-by: Joerg
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/moc.prf2
1 files changed, 0 insertions, 2 deletions
diff --git a/mkspecs/features/moc.prf b/mkspecs/features/moc.prf
index 60508c8..40101de 100644
--- a/mkspecs/features/moc.prf
+++ b/mkspecs/features/moc.prf
@@ -65,7 +65,6 @@ moc_header.output = $$MOC_DIR/$${QMAKE_H_MOD_MOC}${QMAKE_FILE_BASE}$${first(QMAK
moc_header.input = HEADERS
moc_header.variable_out = SOURCES
moc_header.name = MOC ${QMAKE_FILE_IN}
-!isEmpty(INCLUDETEMP):moc_header.depends += $$INCLUDETEMP
silent:moc_header.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_header.commands
QMAKE_EXTRA_COMPILERS += moc_header
INCREDIBUILD_XGE += moc_header
@@ -77,7 +76,6 @@ moc_source.commands = ${QMAKE_FUNC_mocCmd}
moc_source.output = $$MOC_DIR/$${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}$${QMAKE_EXT_CPP_MOC}
moc_source.input = SOURCES OBJECTIVE_SOURCES
moc_source.name = MOC ${QMAKE_FILE_IN}
-!isEmpty(INCLUDETEMP):moc_source.depends += $$INCLUDETEMP
silent:moc_source.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_source.commands
QMAKE_EXTRA_COMPILERS += moc_source
INCREDIBUILD_XGE += moc_source