summaryrefslogtreecommitdiff
path: root/Source/cmOutputConverter.h
diff options
context:
space:
mode:
authorBrendan O'Rourke <brendan.orourke@precisionplanting.com>2021-11-08 11:44:44 -0600
committerBrendan O'Rourke <obrendan@gmail.com>2021-11-08 12:14:53 -0600
commit144e8dcf404893f10febf97744cbbcab96b88586 (patch)
tree60d12b7e2f21e1f6ee4ba6aa6ff1474de94f2bb5 /Source/cmOutputConverter.h
parent1fad6998091b65905bcf5bd8b7edd30b7b0b7362 (diff)
downloadcmake-144e8dcf404893f10febf97744cbbcab96b88586.tar.gz
cmOutputConverter: Quote hyphens in response files
Fixes: #20070
Diffstat (limited to 'Source/cmOutputConverter.h')
-rw-r--r--Source/cmOutputConverter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h
index 53ec247f2d..335442df42 100644
--- a/Source/cmOutputConverter.h
+++ b/Source/cmOutputConverter.h
@@ -88,11 +88,14 @@ public:
Shell_Flag_IsUnix = (1 << 8),
Shell_Flag_UnescapeNinjaConfiguration = (1 << 9),
+
+ Shell_Flag_IsResponse = (1 << 10)
};
std::string EscapeForShell(cm::string_view str, bool makeVars = false,
bool forEcho = false, bool useWatcomQuote = false,
- bool unescapeNinjaConfiguration = false) const;
+ bool unescapeNinjaConfiguration = false,
+ bool forResponse = false) const;
enum class WrapQuotes
{