diff options
author | Robert Goulet <robert.goulet@autodesk.com> | 2016-02-19 19:00:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-02-24 14:36:54 (GMT) |
commit | b860a92582e64e7051ce03fe5b694450d554bb3f (patch) | |
tree | e2c3edf1b5ddab3d81d621b771121200225a34ad /Source/cmXCodeObject.h | |
parent | 7e32bd945a9f32144ac63fdcd085197658229f9c (diff) | |
download | CMake-b860a92582e64e7051ce03fe5b694450d554bb3f.zip CMake-b860a92582e64e7051ce03fe5b694450d554bb3f.tar.gz CMake-b860a92582e64e7051ce03fe5b694450d554bb3f.tar.bz2 |
Xcode: Refactor block writes to allow any level of nesting
Reviewed-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Source/cmXCodeObject.h')
-rw-r--r-- | Source/cmXCodeObject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h index bd0f43f..2d876da 100644 --- a/Source/cmXCodeObject.h +++ b/Source/cmXCodeObject.h @@ -75,6 +75,10 @@ public: } static void Indent(int level, std::ostream& out); void Print(std::ostream& out); + void PrintAttribute(std::ostream& out, const int level, + const std::string separator, const int factor, + const std::string& name, const cmXCodeObject* object, + const cmXCodeObject* parent); virtual void PrintComment(std::ostream&) {} static void PrintList(std::vector<cmXCodeObject*> const&, |