summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-22 14:49:36 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-23 13:05:30 (GMT)
commit2bf22a4b908592e363fc9aa93b3d09fbb5387b4d (patch)
treedc72f2215129604c5a61a3978e8334ef89f47a6e /Source/cmQtAutoGenerators.cxx
parent0e346427a254024b8eafe52956e8f4ba05d856ed (diff)
downloadCMake-2bf22a4b908592e363fc9aa93b3d09fbb5387b4d.zip
CMake-2bf22a4b908592e363fc9aa93b3d09fbb5387b4d.tar.gz
CMake-2bf22a4b908592e363fc9aa93b3d09fbb5387b4d.tar.bz2
QtAutogen: Add comment explaining why rcc cannot use PRE_BUILD
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index d2f6e36..d8f826c 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -440,6 +440,9 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
this->ListQt4RccInputs(sf, depends);
}
#if defined(_WIN32) && !defined(__CYGWIN__)
+ // Cannot use PRE_BUILD because the resource files themselves
+ // may not be sources within the target so VS may not know the
+ // target needs to re-build at all.
usePRE_BUILD = false;
#endif
}