diff options
author | Brad King <brad.king@kitware.com> | 2008-09-02 16:06:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-09-02 16:06:32 (GMT) |
commit | f89dae7a9473a05ecd2ccbfe409b6f33523da603 (patch) | |
tree | f28b8d91e2fa1c5604764185d30a3ecb9b093f5f /Source/cmLocalGenerator.h | |
parent | a54e97cf946e82de6b73c26c64b7fe3efdf0be43 (diff) | |
download | CMake-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.h | 7 |
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, |