diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2012-07-03 20:22:17 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-17 12:03:04 (GMT) |
commit | 21f156c03bec7595b58862a58a3446ec453f7d85 (patch) | |
tree | bff237ae139b271ebfd19373b57d62de11674d93 /Source/cmNinjaNormalTargetGenerator.h | |
parent | cdfa14a4f5a1432383c379baf741a713a198809a (diff) | |
download | CMake-21f156c03bec7595b58862a58a3446ec453f7d85.zip CMake-21f156c03bec7595b58862a58a3446ec453f7d85.tar.gz CMake-21f156c03bec7595b58862a58a3446ec453f7d85.tar.bz2 |
Ninja: Add support for OS X app bundles.
This patch fixes test Qt4Deploy on Darwin.
Thanks to Jamie Kirkpatrick <jkp@kirkconsulting.co.uk>
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h index 1ef9567..cee685d 100644 --- a/Source/cmNinjaNormalTargetGenerator.h +++ b/Source/cmNinjaNormalTargetGenerator.h @@ -34,6 +34,7 @@ private: void WriteLinkStatement(); void WriteObjectLibStatement(); std::vector<std::string> ComputeLinkCmd(); + void CreateAppBundle(const std::string& targetName, std::string& outpath); private: // Target name info. @@ -43,6 +44,7 @@ private: std::string TargetNameImport; std::string TargetNamePDB; const char *TargetLinkLanguage; + std::string MacContentDirectory; }; #endif // ! cmNinjaNormalTargetGenerator_h |