diff --git a/mac/xcode/Loadable Bundle.trgttmpl b/mac/xcode/Loadable Bundle.trgttmpl new file mode 100644 index 0000000000..f1547de509 --- /dev/null +++ b/mac/xcode/Loadable Bundle.trgttmpl @@ -0,0 +1,24 @@ +{ + Class = Native; + ProductType = "com.apple.product-type.objfile"; + Description = "Target for building a laodable bundle without a bundle wrapper."; + CustomBuildSettings = { + MACH_O_TYPE = "mh_bundle"; + INSTALL_PATH = "/usr/local/lib"; + PRODUCT_NAME = "«PRODUCTNAME»"; + PREBINDING = NO; + GCC_MODEL_TUNING = G5; + OTHER_LDFLAGS = "-undefined dynamic_lookup"; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_EXTENSION = "dylib"; + KEEP_PRIVATE_EXTERNS = NO; + }; + BuildPhases = ( + { + Class = Sources; + }, + { + Class = Frameworks; + }, + ); +}