summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-09-02 16:06:32 (GMT)
committerBrad King <brad.king@kitware.com>2008-09-02 16:06:32 (GMT)
commitf89dae7a9473a05ecd2ccbfe409b6f33523da603 (patch)
treef28b8d91e2fa1c5604764185d30a3ecb9b093f5f /Source/cmLocalGenerator.h
parenta54e97cf946e82de6b73c26c64b7fe3efdf0be43 (diff)
downloadCMake-f89dae7a9473a05ecd2ccbfe409b6f33523da603.zip
CMake-f89dae7a9473a05ecd2ccbfe409b6f33523da603.tar.gz
CMake-f89dae7a9473a05ecd2ccbfe409b6f33523da603.tar.bz2
ENH: Create Info.plist files in OS X Frameworks
A Mac OS X Framework should provide a Resources/Info.plist file containing meta-data about the framework. This change generates a default Info.plist for frameworks and provides an interface for users to customize it.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 1be0aa4..d528d2f 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -275,6 +275,13 @@ public:
*/
void GenerateAppleInfoPList(cmTarget* target, const char* targetName,
const char* fname);
+
+ /**
+ * Generate a Mac OS X framework Info.plist file.
+ */
+ void GenerateFrameworkInfoPList(cmTarget* target,
+ const char* targetName,
+ const char* fname);
protected:
/** Construct a comment for a custom command. */
std::string ConstructComment(const cmCustomCommand& cc,