1
0
Эх сурвалжийг харах

QtAutogen: Add comment explaining why rcc cannot use PRE_BUILD

Brad King 10 жил өмнө
parent
commit
2bf22a4b90

+ 3 - 0
Source/cmQtAutoGenerators.cxx

@@ -440,6 +440,9 @@ bool cmQtAutoGenerators::InitializeAutogenTarget(cmTarget* target)
               this->ListQt4RccInputs(sf, depends);
               this->ListQt4RccInputs(sf, depends);
               }
               }
 #if defined(_WIN32) && !defined(__CYGWIN__)
 #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;
             usePRE_BUILD = false;
 #endif
 #endif
             }
             }