summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-10 13:34:22 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-10 13:34:22 (GMT)
commit25a76df17f72dcec494b88d2b59a54acbdee9798 (patch)
treee8e35572853f33971ae4a6f2c583344cbc07def4
parent7c09bcfee81ab651e04505d29eb1c5e35fb673ce (diff)
parente4232b82e6d285edf9038e2f352df61ab362b6fd (diff)
downloadCMake-25a76df17f72dcec494b88d2b59a54acbdee9798.zip
CMake-25a76df17f72dcec494b88d2b59a54acbdee9798.tar.gz
CMake-25a76df17f72dcec494b88d2b59a54acbdee9798.tar.bz2
Merge topic 'autorcc-only-no-rebuild'
e4232b82 QtAutogen: Do not re-generate AUTORCC outputs on every build
-rw-r--r--Source/cmQtAutoGenerators.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 499da3a..fa33cf2 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -456,8 +456,8 @@ static std::string ReadAll(const std::string& filename)
bool cmQtAutoGenerators::RunAutogen(cmMakefile* makefile)
{
- if (!cmsys::SystemTools::FileExists(this->OutMocCppFilenameAbs.c_str()) ||
- (this->OldCompileSettingsStr != this->CurrentCompileSettingsStr)) {
+ // If settings changed everything needs to be re-generated.
+ if (this->OldCompileSettingsStr != this->CurrentCompileSettingsStr) {
this->GenerateAll = true;
}