From 2bf22a4b908592e363fc9aa93b3d09fbb5387b4d Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 22 Jun 2015 10:49:36 -0400 Subject: [PATCH] QtAutogen: Add comment explaining why rcc cannot use PRE_BUILD --- Source/cmQtAutoGenerators.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index d2f6e3640..d8f826cc7 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 }