diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2012-07-07 17:54:16 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-17 12:03:07 (GMT) |
commit | a1b803349b51a9a814cd8e309832991306ef2cf0 (patch) | |
tree | 81e3c385a33cdc834cc2930d2b7da13283b2d045 /Source/cmNinjaNormalTargetGenerator.h | |
parent | 3ba74ad9d586816f7c60cc6f527148edf982871c (diff) | |
download | CMake-a1b803349b51a9a814cd8e309832991306ef2cf0.zip CMake-a1b803349b51a9a814cd8e309832991306ef2cf0.tar.gz CMake-a1b803349b51a9a814cd8e309832991306ef2cf0.tar.bz2 |
Re-factor OS X bundle and framework generation.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h index c48a8ec..fb597c5 100644 --- a/Source/cmNinjaNormalTargetGenerator.h +++ b/Source/cmNinjaNormalTargetGenerator.h @@ -15,8 +15,12 @@ # include "cmNinjaTargetGenerator.h" # include "cmNinjaTypes.h" +# include "cmStandardIncludes.h" + +# include <set> class cmSourceFile; +class cmOSXBundleGenerator; class cmNinjaNormalTargetGenerator : public cmNinjaTargetGenerator { @@ -34,8 +38,6 @@ private: void WriteLinkStatement(); void WriteObjectLibStatement(); std::vector<std::string> ComputeLinkCmd(); - void CreateAppBundle(const std::string& targetName, std::string& outpath); - void CreateFramework(std::string const& targetName); private: // Target name info. @@ -45,8 +47,8 @@ private: std::string TargetNameImport; std::string TargetNamePDB; const char *TargetLinkLanguage; - std::string MacContentDirectory; - std::string FrameworkVersion; + cmOSXBundleGenerator* OSXBundleGenerator; + std::set<cmStdString> MacContentFolders; }; #endif // ! cmNinjaNormalTargetGenerator_h |