diff options
author | Brad King <brad.king@kitware.com> | 2008-06-02 20:45:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-06-02 20:45:07 (GMT) |
commit | bed3ac8741405132096430c9f61578df9f8cfbf9 (patch) | |
tree | b140448aa518e2d4e20349cf5c72ce8e412a6977 /Source/cmCustomCommand.cxx | |
parent | 6be09c366774ed6d723a06f5f07ba5c09d8e4579 (diff) | |
download | CMake-bed3ac8741405132096430c9f61578df9f8cfbf9.zip CMake-bed3ac8741405132096430c9f61578df9f8cfbf9.tar.gz CMake-bed3ac8741405132096430c9f61578df9f8cfbf9.tar.bz2 |
ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
- Option was recently added but never released.
- Custom commands no longer depend on build.make so we do
not need the option.
- Rule hashes now take care of rebuilding when rules change
so the dependency is not needed.
Diffstat (limited to 'Source/cmCustomCommand.cxx')
-rw-r--r-- | Source/cmCustomCommand.cxx | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/Source/cmCustomCommand.cxx b/Source/cmCustomCommand.cxx index b2f5c87..60896b1 100644 --- a/Source/cmCustomCommand.cxx +++ b/Source/cmCustomCommand.cxx @@ -22,7 +22,6 @@ cmCustomCommand::cmCustomCommand() this->HaveComment = false; this->EscapeOldStyle = true; this->EscapeAllowMakeVars = false; - this->SkipRuleDepends = false; } //---------------------------------------------------------------------------- @@ -51,9 +50,10 @@ cmCustomCommand::cmCustomCommand(const std::vector<std::string>& outputs, Comment(comment?comment:""), WorkingDirectory(workingDirectory?workingDirectory:""), EscapeAllowMakeVars(false), - EscapeOldStyle(true), - SkipRuleDepends(false) + EscapeOldStyle(true) { + this->EscapeOldStyle = true; + this->EscapeAllowMakeVars = false; } //---------------------------------------------------------------------------- @@ -136,18 +136,6 @@ void cmCustomCommand::SetEscapeAllowMakeVars(bool b) } //---------------------------------------------------------------------------- -bool cmCustomCommand::GetSkipRuleDepends() const -{ - return this->SkipRuleDepends; -} - -//---------------------------------------------------------------------------- -void cmCustomCommand::SetSkipRuleDepends(bool b) -{ - this->SkipRuleDepends = b; -} - -//---------------------------------------------------------------------------- cmCustomCommand::ImplicitDependsList const& cmCustomCommand::GetImplicitDepends() const { |