summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-14 23:12:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-14 23:12:22 (GMT)
commit94f82edd07693f2a47f473ebc4cad7293559a600 (patch)
tree32e3394d71781c747cac25b0e7bd00327904c7c3 /Source/cmSystemTools.cxx
parenta8d47b722185c97c262f12a3eea29510a7c450aa (diff)
downloadCMake-94f82edd07693f2a47f473ebc4cad7293559a600.zip
CMake-94f82edd07693f2a47f473ebc4cad7293559a600.tar.gz
CMake-94f82edd07693f2a47f473ebc4cad7293559a600.tar.bz2
Closer to nmake build
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 1695dac..c2ff201 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -438,6 +438,18 @@ std::string cmSystemTools::LowerCase(const std::string& s)
return n;
}
+// Return a lower case string
+std::string cmSystemTools::UpperCase(const std::string& s)
+{
+ std::string n;
+ n.resize(s.size());
+ for (size_t i = 0; i < s.size(); i++)
+ {
+ n[i] = toupper(s[i]);
+ }
+ return n;
+}
+
// convert windows slashes to unix slashes \ with /
const char *cmSystemTools::ConvertToUnixSlashes(std::string& path)