summaryrefslogtreecommitdiff
path: root/Source/cmNinjaNormalTargetGenerator.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2012-07-07 19:54:16 +0200
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-17 14:03:07 +0200
commita1b803349b51a9a814cd8e309832991306ef2cf0 (patch)
tree81e3c385a33cdc834cc2930d2b7da13283b2d045 /Source/cmNinjaNormalTargetGenerator.h
parent3ba74ad9d586816f7c60cc6f527148edf982871c (diff)
downloadcmake-a1b803349b51a9a814cd8e309832991306ef2cf0.tar.gz
Re-factor OS X bundle and framework generation.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h
index c48a8ec57c..fb597c5a27 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