summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-02 18:28:12 (GMT)
committerBrad King <brad.king@kitware.com>2009-02-02 18:28:12 (GMT)
commitac9b7ec1558e1370f578c67b1296fbe778a92b81 (patch)
tree8fe4990c6e318e0bdbf136dcf805e817c024440d /Source/cmLocalUnixMakefileGenerator3.h
parent7d6a5e097f17720ed21fe5faac1759bf387c7880 (diff)
downloadCMake-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/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index ebb7c79..b35bdbc 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -332,7 +332,8 @@ protected:
const cmCustomCommand& cc,
bool echo_comment=false,
cmLocalGenerator::RelativeRoot relative =
- cmLocalGenerator::HOME_OUTPUT);
+ cmLocalGenerator::HOME_OUTPUT,
+ std::ostream* content = 0);
void AppendCleanCommand(std::vector<std::string>& commands,
const std::vector<std::string>& files,
cmTarget& target, const char* filename =0);