diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2012-07-16 17:34:22 +0200 |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-17 14:03:10 +0200 |
commit | 5d885db416a4cec236ba6422868dc3db3d766bc4 (patch) | |
tree | d7d30b2df4e3c706c7598407b96c0abbdcba36ee /Source/cmOSXBundleGenerator.h | |
parent | 3b2a01e80ef0faf626afd4c5031395c00e1c9ecd (diff) | |
download | cmake-5d885db416a4cec236ba6422868dc3db3d766bc4.tar.gz |
Re-factor bundle content copying rules generation.
Diffstat (limited to 'Source/cmOSXBundleGenerator.h')
-rw-r--r-- | Source/cmOSXBundleGenerator.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmOSXBundleGenerator.h b/Source/cmOSXBundleGenerator.h index 38092b9673..dc6a8ae1b8 100644 --- a/Source/cmOSXBundleGenerator.h +++ b/Source/cmOSXBundleGenerator.h @@ -13,6 +13,7 @@ #define cmOSXBundleGenerator_h #include "cmStandardIncludes.h" +#include "cmSourceFile.h" #include <string> #include <set> @@ -34,6 +35,16 @@ public: void CreateFramework(std::string const& targetName); void CreateCFBundle(std::string& targetName, std::string& outpath); + class MacOSXContentGeneratorType + { + public: + virtual void operator()(cmSourceFile& source, const char* pkgloc) = 0; + }; + + void GenerateMacOSXContentStatements( + std::vector<cmSourceFile*> const& sources, + MacOSXContentGeneratorType* generator); + std::string GetMacContentDirectory() const { return this->MacContentDirectory; } std::string GetFrameworkVersion() const |