summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-03-20 21:50:44 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-03-26 19:45:07 (GMT)
commitc652812af741c2468ad5b58e789244700aa51be5 (patch)
tree80d1b12987b04131291837dcd5b668e2033861a8 /Source/cmLocalGenerator.h
parent58db6ac2991ee00536f7aded84811f1e3eead906 (diff)
downloadCMake-c652812af741c2468ad5b58e789244700aa51be5.zip
CMake-c652812af741c2468ad5b58e789244700aa51be5.tar.gz
CMake-c652812af741c2468ad5b58e789244700aa51be5.tar.bz2
make cmLocalGenerator::EscapeForCMake() static
This way it can be used also if there is no cmLocalGenerator instance around Alex
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 124747b..3e93819 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -251,7 +251,7 @@ public:
std::string EscapeForShellOldStyle(const char* str);
/** Escape the given string as an argument in a CMake script. */
- std::string EscapeForCMake(const char* str);
+ static std::string EscapeForCMake(const char* str);
enum FortranFormat
{