diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-05-13 10:14:23 +0200 |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-05-13 10:14:23 +0200 |
commit | ab39dd11f5ba134b56dc802584f33c2c46df7f09 (patch) | |
tree | 0f6f3764211c6d04d28e749b8dc9b67b68f4380f /Source/cmQtAutoGenerators.cxx | |
parent | 836cb52e9aec83f88841cb5b45abb1d32bb02214 (diff) | |
download | cmake-ab39dd11f5ba134b56dc802584f33c2c46df7f09.tar.gz |
Autogen: Include moc/uic/rcc binary in settings hash
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 7461a0a617..15d206ae1c 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -517,32 +517,39 @@ void cmQtAutoGenerators::SettingsFileRead(cmMakefile* makefile) // Compose current settings strings { cmCryptoHash crypt(cmCryptoHash::AlgoSHA256); + const std::string sep(" ~~~ "); if (this->MocEnabled()) { std::string str; + str += this->MocExecutable; + str += sep; str += JoinOptionsList(this->MocDefinitions); - str += " ~~~ "; + str += sep; str += JoinOptionsList(this->MocIncludePaths); - str += " ~~~ "; + str += sep; str += JoinOptionsList(this->MocOptions); - str += " ~~~ "; + str += sep; str += this->IncludeProjectDirsBefore ? "TRUE" : "FALSE"; - str += " ~~~ "; + str += sep; str += JoinOptionsList(this->MocPredefsCmd); - str += " ~~~ "; + str += sep; this->SettingsStringMoc = crypt.HashString(str); } if (this->UicEnabled()) { std::string str; + str += this->UicExecutable; + str += sep; str += JoinOptionsList(this->UicTargetOptions); - str += " ~~~ "; + str += sep; str += JoinOptionsMap(this->UicOptions); - str += " ~~~ "; + str += sep; this->SettingsStringUic = crypt.HashString(str); } if (this->RccEnabled()) { std::string str; + str += this->RccExecutable; + str += sep; str += JoinOptionsMap(this->RccOptions); - str += " ~~~ "; + str += sep; this->SettingsStringRcc = crypt.HashString(str); } } |