QtAutogen: Add comment explaining why rcc cannot use PRE_BUILD

This commit is contained in:
Brad King 2015-06-22 10:49:36 -04:00
parent 0e346427a2
commit 2bf22a4b90
1 changed files with 3 additions and 0 deletions

View File

@ -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
}