summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorAlexander Akhundzhanov <mbdrop@protonmail.com>2021-04-11 08:08:15 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-04-22 05:17:02 (GMT)
commiteb5e33ba474e061b302cd0b3b1ecb62625489532 (patch)
treebd5ddc133bc5f36984de52ada93ddb84c4757e3e /Source/cmGlobalXCodeGenerator.h
parentf62a2bf44f392f6a23836848714ed36cd02975af (diff)
downloadCMake-eb5e33ba474e061b302cd0b3b1ecb62625489532.zip
CMake-eb5e33ba474e061b302cd0b3b1ecb62625489532.tar.gz
CMake-eb5e33ba474e061b302cd0b3b1ecb62625489532.tar.bz2
Xcode: Add support for embedding app extensions
Co-Authored-By: Craig Scott <craig.scott@crascit.com>
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 1ab56e2..f182584 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -132,6 +132,13 @@ protected:
}
private:
+ enum EmbedActionFlags
+ {
+ NoActionOnCopyByDefault = 0,
+ CodeSignOnCopyByDefault = 1,
+ RemoveHeadersOnCopyByDefault = 2,
+ };
+
bool ParseGeneratorToolset(std::string const& ts, cmMakefile* mf);
bool ProcessGeneratorToolsetField(std::string const& key,
std::string const& value, cmMakefile* mf);
@@ -196,7 +203,13 @@ private:
const char* attribute);
cmXCodeObject* CreateUtilityTarget(cmGeneratorTarget* gtgt);
void AddDependAndLinkInformation(cmXCodeObject* target);
+ void AddEmbeddedObjects(cmXCodeObject* target,
+ const std::string& copyFilesBuildPhaseName,
+ const std::string& embedPropertyName,
+ const std::string& dstSubfolderSpec,
+ int actionsOnByDefault);
void AddEmbeddedFrameworks(cmXCodeObject* target);
+ void AddEmbeddedAppExtensions(cmXCodeObject* target);
void AddPositionIndependentLinkAttribute(cmGeneratorTarget* target,
cmXCodeObject* buildSettings,
const std::string& configName);