summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-07-01 12:20:15 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-07-17 13:55:58 (GMT)
commit3c685a578a44063bb027787426d2c8b7202a7979 (patch)
tree7d531d9c9f571723f827beb4e762f5d422aab1d8 /Source/cmGlobalGenerator.h
parenta28217eb8c3c8fd6287661dc3b4bc56a14e0d019 (diff)
downloadCMake-3c685a578a44063bb027787426d2c8b7202a7979.zip
CMake-3c685a578a44063bb027787426d2c8b7202a7979.tar.gz
CMake-3c685a578a44063bb027787426d2c8b7202a7979.tar.bz2
LINK_OPTIONS: ensure correct dollar escaping
Ensure correct escaping for Ninja and Makefile generators. Fixes: #25049
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index bc59514..735c4ba 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -637,6 +637,8 @@ public:
};
StripCommandStyle GetStripCommandStyle(std::string const& strip);
+ virtual std::string& EncodeLiteral(std::string& lit) { return lit; }
+
protected:
// for a project collect all its targets by following depend
// information, and also collect all the targets