Build SDL for Mac hardware when targeting iOS

This commit is contained in:
Sam Lantinga 2020-12-30 11:38:51 -08:00
parent 590a5469ed
commit 5aba082703

View File

@ -10162,6 +10162,7 @@
GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_SYMBOLS_PRIVATE_EXTERN = YES;
INSTALL_PATH = "@rpath"; INSTALL_PATH = "@rpath";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2,6";
}; };
name = Debug; name = Debug;
}; };
@ -10178,6 +10179,7 @@
GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_SYMBOLS_PRIVATE_EXTERN = YES;
INSTALL_PATH = "@rpath"; INSTALL_PATH = "@rpath";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2,6";
}; };
name = Release; name = Release;
}; };
@ -10222,7 +10224,7 @@
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.hidapi; PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.hidapi;
PRODUCT_NAME = hidapi; PRODUCT_NAME = hidapi;
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2,6";
}; };
name = Debug; name = Debug;
}; };
@ -10243,7 +10245,7 @@
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.hidapi; PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.hidapi;
PRODUCT_NAME = hidapi; PRODUCT_NAME = hidapi;
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2,6";
}; };
name = Release; name = Release;
}; };
@ -10341,7 +10343,7 @@
GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
OTHER_LDFLAGS = "-liconv"; OTHER_LDFLAGS = "-liconv";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2,6";
}; };
name = Debug; name = Debug;
}; };
@ -10357,7 +10359,7 @@
GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1"; GCC_PREPROCESSOR_DEFINITIONS = "IOS_DYLIB=1";
OTHER_LDFLAGS = "-liconv"; OTHER_LDFLAGS = "-liconv";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2,6";
}; };
name = Release; name = Release;
}; };