summaryrefslogtreecommitdiffstats
path: root/Source/cmNMakeMakefileGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmNMakeMakefileGenerator.cxx')
-rw-r--r--Source/cmNMakeMakefileGenerator.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmNMakeMakefileGenerator.cxx b/Source/cmNMakeMakefileGenerator.cxx
index 5cf1385..5e65fc5 100644
--- a/Source/cmNMakeMakefileGenerator.cxx
+++ b/Source/cmNMakeMakefileGenerator.cxx
@@ -711,3 +711,11 @@ std::string cmNMakeMakefileGenerator::ConvertToOutputPath(const char* s)
{
return cmSystemTools::ConvertToOutputPath(s);
}
+
+
+std::string cmNMakeMakefileGenerator::CreateMakeVariable(const char* s, const char* s2)
+{
+ std::string ret= std::string(s) + std::string(s2);
+ cmSystemTools::ReplaceString(ret, "-", "_");
+ return ret;
+}