Skip to content

Instantly share code, notes, and snippets.

View mgrebenets's full-sized avatar
🐢

Maksym Grebenets mgrebenets

🐢
View GitHub Profile
{
Name = "CLANG_ENABLE_CODE_COVERAGE";
Type = Boolean;
DefaultValue = YES;
Category = CodeGeneration;
DisplayName = "Enable Code Coverage Support";
Description = "Enables building with code coverage instrumentation. This is only used when the build has code coverage enabled, which is typically done via the Xcode scheme settings.";
}
Condition = "$(GCC_GENERATE_DEBUGGING_SYMBOLS) == YES && ( $(CLANG_ENABLE_MODULES) == YES || ( $(GCC_PREFIX_HEADER) != '' && $(GCC_PRECOMPILE_PREFIX_HEADER) == YES ) )";
{
Name = "SWIFT_BITCODE_GENERATION_MODE";
Type = Enumeration;
Condition = "$(ENABLE_BITCODE) == YES";
}
DefaultValue = "$($(DEPLOYMENT_TARGET_SETTING_NAME))";
{
Name = "SWIFT_OBJC_INTERFACE_HEADER_NAME";
Type = String;
DefaultValue = "$(SWIFT_MODULE_NAME)-Swift.h";
}
{
Name = "CLANG_ENABLE_OBJC_ARC";
CommandLineArgs = {
YES = (
"-fobjc-arc",
);
NO = ();
};
AdditionalLinkerArgs = {
YES = (
{
Name = "diagnostic_message_length";
Type = String;
DefaultValue = 0;
CommandLinePrefixFlag = "-fmessage-length=";
}
// LIBRARY_SEARCH_PATHS
"CommandLinePrefixFlag" = "-L"
// FRAMEWORK_SEARCH_PATHS
"CommandLinePrefixFlag" = "-F"
{
Name = "MACH_O_TYPE";
Type = Enumeration;
Values = (
{
Value = "mh_execute";
CommandLineFlag = "";
},
{
Value = "mh_dylib";
-iframework "A" -iframework "B" -iframework "C"