Move the EscapeJSON method to a sharable location.

This commit is contained in:
Stephen Kelly
2012-05-06 15:07:19 +02:00
parent 1ccbfdebb9
commit 2c04bc00a4
3 changed files with 21 additions and 15 deletions

View File

@@ -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