diff options
author | Brad King <brad.king@kitware.com> | 2009-02-02 18:28:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-02 18:28:12 (GMT) |
commit | ac9b7ec1558e1370f578c67b1296fbe778a92b81 (patch) | |
tree | 8fe4990c6e318e0bdbf136dcf805e817c024440d /Source/cmGlobalGenerator.h | |
parent | 7d6a5e097f17720ed21fe5faac1759bf387c7880 (diff) | |
download | CMake-ac9b7ec1558e1370f578c67b1296fbe778a92b81.zip CMake-ac9b7ec1558e1370f578c67b1296fbe778a92b81.tar.gz CMake-ac9b7ec1558e1370f578c67b1296fbe778a92b81.tar.bz2 |
ENH: Refactor custom command rule hashing
This simplifies computation of custom command rule hashes to hash
content exactly chosen as the custom commands are generated.
Unfortunately this will change the hashes of existing build trees from
earlier CMake versions, but this is not a big deal. The change is
necessary so that in the future we can make optional adjustments to
custom command lines at generate time without changing the hashes every
time the option is changed.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 51e462d..60847c2 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -251,8 +251,7 @@ public: void GetFilesReplacedDuringGenerate(std::vector<std::string>& filenames); void AddRuleHash(const std::vector<std::string>& outputs, - std::vector<std::string>::const_iterator first, - std::vector<std::string>::const_iterator last); + std::string const& content); protected: // for a project collect all its targets by following depend |