diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2012-07-10 18:13:01 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-17 12:03:08 (GMT) |
commit | 10686a17f4457fd6032543992538850be5cc8d88 (patch) | |
tree | 9793d1506473c2d1c0c32e69bca3d52f16dad4fe /Source/cmNinjaTargetGenerator.h | |
parent | a1b803349b51a9a814cd8e309832991306ef2cf0 (diff) | |
download | CMake-10686a17f4457fd6032543992538850be5cc8d88.zip CMake-10686a17f4457fd6032543992538850be5cc8d88.tar.gz CMake-10686a17f4457fd6032543992538850be5cc8d88.tar.bz2 |
Ninja: Copy resource files in the bundle.
This patch fixes test BundleTest on Darwin.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaTargetGenerator.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h index af43a8b..49168c4 100644 --- a/Source/cmNinjaTargetGenerator.h +++ b/Source/cmNinjaTargetGenerator.h @@ -24,6 +24,7 @@ class cmGeneratorTarget; class cmMakefile; class cmSourceFile; class cmCustomCommand; +class cmOSXBundleGenerator; class cmNinjaTargetGenerator { @@ -114,6 +115,16 @@ protected: void EnsureDirectoryExists(const std::string& dir); void EnsureParentDirectoryExists(const std::string& path); + void WriteMacOSXContentBuildStatements( + std::vector<cmSourceFile*> const& sources); + void WriteMacOSXContentBuildStatement(cmSourceFile& source, + const char* pkgloc); + +protected: + // Properly initialized by sub-classes. + cmOSXBundleGenerator* OSXBundleGenerator; + std::set<cmStdString> MacContentFolders; + private: cmTarget* Target; cmGeneratorTarget* GeneratorTarget; |