mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-12 20:39:49 -05:00
Merge topic 'simplify-ccg-converter'
df1693bd cmCustomCommandGenerator: Simplify cmOutputConverter access
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1738
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user