diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-01-27 10:23:13 (GMT) |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-04 13:30:54 (GMT) |
commit | ad3f69c86eb27abd16d2a8534a7b90d59c0d74ed (patch) | |
tree | e1f0f070bbfaeb14c923f4fbb3cac503f3154111 /Source/cmOSXBundleGenerator.h | |
parent | d016637eefd7ebd6745adcd36bbfad7da67529ef (diff) | |
download | CMake-ad3f69c86eb27abd16d2a8534a7b90d59c0d74ed.zip CMake-ad3f69c86eb27abd16d2a8534a7b90d59c0d74ed.tar.gz CMake-ad3f69c86eb27abd16d2a8534a7b90d59c0d74ed.tar.bz2 |
Add support for FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>
Diffstat (limited to 'Source/cmOSXBundleGenerator.h')
-rw-r--r-- | Source/cmOSXBundleGenerator.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/cmOSXBundleGenerator.h b/Source/cmOSXBundleGenerator.h index 232be48..5bf1d98 100644 --- a/Source/cmOSXBundleGenerator.h +++ b/Source/cmOSXBundleGenerator.h @@ -19,6 +19,15 @@ class cmOSXBundleGenerator public: cmOSXBundleGenerator(cmGeneratorTarget* target); + struct SkipParts + { + SkipParts() + : infoPlist(false) + { + } + bool infoPlist; // NOLINT(modernize-use-default-member-init) + }; + // create an app bundle at a given root, and return // the directory within the bundle that contains the executable void CreateAppBundle(const std::string& targetName, std::string& root, @@ -26,7 +35,8 @@ public: // create a framework at a given root void CreateFramework(const std::string& targetName, const std::string& root, - const std::string& config); + const std::string& config, + const SkipParts& skipParts = SkipParts()); // create a cf bundle at a given root void CreateCFBundle(const std::string& targetName, const std::string& root, |