diff options
author | Brad King <brad.king@kitware.com> | 2018-02-02 12:23:04 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-02-02 12:24:07 (GMT) |
commit | 457bcbd4f9e4972ed55aebf642770b79fa5e8a58 (patch) | |
tree | a8315e9a9467ac1a3c46d976b5c8ad07178f48bc /Source | |
parent | 62c5fc80b1a82d677b66134e00cec44ab2e6a466 (diff) | |
parent | df1693bdfc7bc0afa26b2f8673006186a822c735 (diff) | |
download | CMake-457bcbd4f9e4972ed55aebf642770b79fa5e8a58.zip CMake-457bcbd4f9e4972ed55aebf642770b79fa5e8a58.tar.gz CMake-457bcbd4f9e4972ed55aebf642770b79fa5e8a58.tar.bz2 |
Merge topic 'simplify-ccg-converter'
df1693bd cmCustomCommandGenerator: Simplify cmOutputConverter access
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1738
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmCustomCommandGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx index 0f5119e..136cf39 100644 --- a/Source/cmCustomCommandGenerator.cxx +++ b/Source/cmCustomCommandGenerator.cxx @@ -8,7 +8,6 @@ #include "cmGeneratorTarget.h" #include "cmLocalGenerator.h" #include "cmMakefile.h" -#include "cmOutputConverter.h" #include "cmStateTypes.h" #include "cmSystemTools.h" @@ -167,8 +166,7 @@ void cmCustomCommandGenerator::AppendArguments(unsigned int c, if (this->OldStyle) { cmd += escapeForShellOldStyle(arg); } else { - cmOutputConverter converter(this->LG->GetStateSnapshot()); - cmd += converter.EscapeForShell(arg, this->MakeVars); + cmd += this->LG->EscapeForShell(arg, this->MakeVars); } } } |