summaryrefslogtreecommitdiff
path: root/Source/cmXCodeObject.h
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet@autodesk.com>2016-02-19 14:00:19 -0500
committerBrad King <brad.king@kitware.com>2016-02-24 09:36:54 -0500
commitb860a92582e64e7051ce03fe5b694450d554bb3f (patch)
treee2c3edf1b5ddab3d81d621b771121200225a34ad /Source/cmXCodeObject.h
parent7e32bd945a9f32144ac63fdcd085197658229f9c (diff)
downloadcmake-b860a92582e64e7051ce03fe5b694450d554bb3f.tar.gz
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.h b/Source/cmXCodeObject.h
index bd0f43f572..2d876da8ff 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&,