浏览代码

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
             }