Merge topic 'trace_expand_bracket'

e6e7f2cab9 cmMakefile: Don't expand bracket arguments in --trace-expand

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5687
This commit is contained in:
Brad King
2021-01-12 15:20:10 +00:00
committed by Kitware Robot
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ void cmMakefile::PrintCommandTrace(
args.reserve(lff.Arguments().size());
for (cmListFileArgument const& arg : lff.Arguments()) {
if (expand) {
if (expand && arg.Delim != cmListFileArgument::Bracket) {
temp = arg.Value;
this->ExpandVariablesInString(temp);
args.push_back(temp);
@@ -0,0 +1 @@
set(a [[\B]])