summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2012-07-10 18:13:01 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-17 12:03:08 (GMT)
commit10686a17f4457fd6032543992538850be5cc8d88 (patch)
tree9793d1506473c2d1c0c32e69bca3d52f16dad4fe /Source/cmGlobalNinjaGenerator.h
parenta1b803349b51a9a814cd8e309832991306ef2cf0 (diff)
downloadCMake-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/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index ff4f85d..61353c5 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -103,6 +103,8 @@ public:
const cmNinjaDeps& outputs,
const cmNinjaDeps& deps = cmNinjaDeps(),
const cmNinjaDeps& orderOnlyDeps = cmNinjaDeps());
+ void WriteMacOSXContentBuild(const std::string& input,
+ const std::string& output);
/**
* Write a rule statement named @a name to @a os with the @a comment,
@@ -242,6 +244,7 @@ public:
bool HasRule(const std::string& name);
void AddCustomCommandRule();
+ void AddMacOSXContentRule();
protected:
@@ -276,6 +279,7 @@ private:
void WriteDisclaimer(std::ostream& os);
void AddDependencyToAll(cmTarget* target);
+ void AddDependencyToAll(const std::string& input);
void WriteAssumedSourceDependencies();