Преглед на файлове

QtAutogen: Add comment explaining why rcc cannot use PRE_BUILD

Brad King преди 10 години
родител
ревизия
2bf22a4b90
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      Source/cmQtAutoGenerators.cxx

+ 3 - 0
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
             }