singe/thirdparty/SDL3_image/Xcode/config.xcconfig
2026-09-03 22:01:35 -05:00

33 lines
1.8 KiB
Text

//
// config.xcconfig
//
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
// Include any optional config for this build
#include? "build.xcconfig"
// Uncomment these lines to enable AVIF support
// If you do this, you should run external/download.sh to download the decode libraries and add avif.framework to your application bundle.
//AVIF_PREPROCESSOR_DEFINITIONS = LOAD_AVIF
//AVIF_FRAMEWORK_LDFLAGS = -weak_framework avif
// Uncomment these lines to enable JPEG-XL support
// If you do this, you should run external/download.sh to download the decode libraries and add jxl.framework to your application bundle.
//JXL_PREPROCESSOR_DEFINITIONS = LOAD_JXL
//JXL_FRAMEWORK_LDFLAGS = -weak_framework jxl
// Uncomment these lines to enable libpng support
// If you do this, you should run external/download.sh to download the decode libraries and add png.framework to your application bundle.
// WARNING: Enabling this will prevent your application from passing App Store review, as linking directly with libpng is not allowed.
//PNG_PREPROCESSOR_DEFINITIONS = SDL_IMAGE_LIBPNG INCLUDE_PNG_FRAMEWORK
//PNG_FRAMEWORK_LDFLAGS = -weak_framework png
// Uncomment these lines to enable WebP support
// If you do this, you should run external/download.sh to download the decode libraries and add webp.framework to your application bundle.
//WEBP_PREPROCESSOR_DEFINITIONS = LOAD_WEBP
//WEBP_FRAMEWORK_LDFLAGS = -weak_framework webp
CONFIG_PREPROCESSOR_DEFINITIONS = $(inherited) $(AVIF_PREPROCESSOR_DEFINITIONS) $(JXL_PREPROCESSOR_DEFINITIONS) $(PNG_PREPROCESSOR_DEFINITIONS) $(WEBP_PREPROCESSOR_DEFINITIONS)
CONFIG_FRAMEWORK_LDFLAGS = $(inherited) $(AVIF_FRAMEWORK_LDFLAGS) $(JXL_FRAMEWORK_LDFLAGS) $(PNG_FRAMEWORK_LDFLAGS) $(WEBP_FRAMEWORK_LDFLAGS)