summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-05-06 13:07:19 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-06-04 21:42:37 (GMT)
commit2c04bc00a4e38fc1b8f15bf950c8c2191ba24eac (patch)
tree331c3ab61eb7a5060f5495709bcaa2139c74d8e9 /Source/cmGlobalGenerator.h
parent1ccbfdebb99b167e1da1d9aa8a072adaea6325c6 (diff)
downloadCMake-2c04bc00a4e38fc1b8f15bf950c8c2191ba24eac.zip
CMake-2c04bc00a4e38fc1b8f15bf950c8c2191ba24eac.tar.gz
CMake-2c04bc00a4e38fc1b8f15bf950c8c2191ba24eac.tar.bz2
Move the EscapeJSON method to a sharable location.
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 5254b89..8535edc 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -280,6 +280,8 @@ public:
/** Generate an <output>.rule file path for a given command output. */
virtual std::string GenerateRuleFile(std::string const& output) const;
+ static std::string EscapeJSON(const std::string& s);
+
protected:
typedef std::vector<cmLocalGenerator*> GeneratorVector;
// for a project collect all its targets by following depend