mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
Open supported external media in the fullscreen menu viewer and keep image confirmation there across all four menu drivers. Disable the legacy imageviewer core in normal build configurations while preserving its sources and Griffin guard.
187 lines
8.7 KiB
Plaintext
187 lines
8.7 KiB
Plaintext
//
|
|
// BaseConfig.xcconfig
|
|
// RetroArch
|
|
//
|
|
//
|
|
|
|
// Define builtin glslang by default (overridden by deps.xcconfig when present)
|
|
GLSLANG_BUILTIN_FLAG = -DGLSLANG_OSINCLUDE_UNIX -DHAVE_BUILTINGLSLANG -DWANT_GLSLANG
|
|
GLSLANG_BUILTIN_HEADER_SEARCH_PATHS = $(DEPS_DIR)/glslang $(DEPS_DIR)/glslang/glslang/SPIRV $(DEPS_DIR)/glslang/glslang/glslang/MachineIndependent $(DEPS_DIR)/glslang/glslang/glslang/OSDependent/Unix $(DEPS_DIR)/glslang/glslang/glslang/Public
|
|
// The cleanroom network stack, as on the other platforms: the crypto,
|
|
// the encrypted keychain, the TLS 1.2/1.3 client and the SMB2/3 client
|
|
// with Kerberos, plus the NFSv3/v4 client.
|
|
NETWORK_STACK_FLAGS = -DHAVE_CRYPTO -DHAVE_KEYCHAIN -DHAVE_RETROSSL -DHAVE_SMBCLIENT -DHAVE_RETROSMB -DHAVE_NFSCLIENT -DHAVE_RETRONFS
|
|
|
|
OTHER_CFLAGS = $(inherited) $(GLSLANG_BUILTIN_FLAG)
|
|
OTHER_CFLAGS = $(inherited) $(NETWORK_STACK_FLAGS)
|
|
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_7ZIP
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_ACCESSIBILITY
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_AL
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_AUDIOMIXER
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_BSV_MOVIE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CC_RESAMPLER
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CHD
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RCHD
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CHEATS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CHEEVOS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CHEEVOS_RVZ
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CLOUDSYNC
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_COMMAND
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CONFIGFILE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_COREAUDIO
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CORELOCATION
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_CORETEXT
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_DR_FLAC
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_DR_MP3
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_DSP_FILTER
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_DYNAMIC
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_EASTEREGG
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_FILTERS_BUILTIN
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_GCD
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_GFX_WIDGETS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_GIT_VERSION
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_GLSL
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_GLSLANG
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_GRIFFIN
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_IFINFO
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_LANGEXTRA
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_LIBRETRODB
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_LROUND
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_MENU
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_METAL
|
|
// Metal's optional builtin HEVC backend uses these framework APIs.
|
|
OTHER_LDFLAGS = $(inherited) -framework CoreMedia -framework VideoToolbox
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_MFI
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_MMAP
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_MICROPHONE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_NEAREST_RESAMPLER
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_NETPLAYDISCOVERY
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_NETPLAYDISCOVERY_NSNET
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_NETWORKGAMEPAD
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_NETWORKING
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_NETWORK_CMD
|
|
OTHER_CFLAGS = $(inherited)
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_OPENGL
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_OVERLAY
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_OZONE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_PATCH
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RBMP
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_REWIND
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RFLAC
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RGUI
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RJPEG
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RPNG
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RTGA
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RUNAHEAD
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RWAV
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_S3
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_SCREENSHOTS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_SHADERPIPELINE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_SLANG
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_SPIRV_CROSS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_SSL
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_STB_FONT
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RVORBIS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_SWIFT
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_THREADS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_THREAD_STORAGE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_TRANSLATE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_TRANSLATE_APPLE
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_UPDATE_ASSETS
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_UPDATE_CORE_INFO
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_VIDEO_FILTER
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_VULKAN
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_XDELTA
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_XMB
|
|
OTHER_CFLAGS = $(inherited)
|
|
OTHER_CFLAGS = $(inherited) -DHAVE_RZSTD
|
|
OTHER_CFLAGS = $(inherited) -DINLINE=inline
|
|
OTHER_CFLAGS = $(inherited) -DRARCH_INTERNAL
|
|
OTHER_CFLAGS = $(inherited) -DRC_DISABLE_LUA
|
|
OTHER_CFLAGS = $(inherited) -DWANT_RAW_DATA_SECTOR=1
|
|
OTHER_CFLAGS = $(inherited) -DWANT_SUBCODE=1
|
|
OTHER_CFLAGS = $(inherited)
|
|
OTHER_CFLAGS = $(inherited) -D__LIBRETRO__
|
|
|
|
OTHER_CFLAGS[arch=x86_64] = $(inherited) -DHAVE_SSE
|
|
OTHER_CFLAGS[arch=arm64*] = $(inherited) -D__ARM_NEON__ -DHAVE_NEON
|
|
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DGL_SILENCE_DEPRECATION
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_AVF
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_COREMIDI
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_DISCORD
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_DYLIB
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_COCOA
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_GETOPT_LONG
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_HID
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_IOHIDMANAGER
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_MATERIALUI
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_OPENGL_CORE
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_PRESENCE
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DHAVE_STDIN_CMD
|
|
OTHER_CFLAGS[sdk=macosx*] = $(inherited) -DTARGET_OS_OSX=1
|
|
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DGLES_SILENCE_DEPRECATION
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_BTSTACK
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_BUILTINMINIUPNPC
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_COCOATOUCH
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_FRAMEWORKS
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_KEYMAPPER
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_MAIN
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_MINIUPNPC
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_ONLINE_UPDATER
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_OPENGLES
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DHAVE_OPENGLES3
|
|
OTHER_CFLAGS_IOS_TVOS_SHARE = $(inherited) -DRARCH_MOBILE
|
|
|
|
OTHER_CFLAGS_SIMULATORS = $(inherited) -DZSTD_DISABLE_ASM
|
|
|
|
OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) $(OTHER_CFLAGS_IOS_TVOS_SHARE)
|
|
OTHER_CFLAGS[sdk=iphonesimulator*] = $(inherited) $(OTHER_CFLAGS_IOS_TVOS_SHARE) $(OTHER_CFLAGS_SIMULATORS)
|
|
OTHER_CFLAGS[sdk=appletvos*] = $(inherited) $(OTHER_CFLAGS_IOS_TVOS_SHARE)
|
|
OTHER_CFLAGS[sdk=appletvsimulator*] = $(inherited) $(OTHER_CFLAGS_IOS_TVOS_SHARE) $(OTHER_CFLAGS_SIMULATORS)
|
|
|
|
OTHER_CFLAGS_IOS = $(inherited) -DHAVE_AVF
|
|
OTHER_CFLAGS_IOS = $(inherited) -DHAVE_COREMIDI
|
|
OTHER_CFLAGS_IOS = $(inherited) -DHAVE_COREMOTION
|
|
OTHER_CFLAGS_IOS = $(inherited) -DHAVE_MATERIALUI
|
|
|
|
OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) $(OTHER_CFLAGS_IOS)
|
|
OTHER_CFLAGS[sdk=iphonesimulator*] = $(inherited) $(OTHER_CFLAGS_IOS)
|
|
|
|
OTHER_CFLAGS[config=Debug] = $(inherited) -DDEBUG=1
|
|
OTHER_CFLAGS[config=Release] = $(inherited) -DNDEBUG -DNS_BLOCK_ASSERTIONS=1
|
|
|
|
// Vulkan validation layer support for macOS debug builds
|
|
// Requires: brew install vulkan-loader vulkan-validationlayers
|
|
//OTHER_CFLAGS[sdk=macosx*][config=Debug] = $(inherited) -DVULKAN_DEBUG
|
|
LD_RUNPATH_SEARCH_PATHS[sdk=macosx*][config=Debug] = $(inherited) /opt/homebrew/opt/vulkan-loader/lib /usr/local/opt/vulkan-loader/lib
|
|
LD_RUNPATH_SEARCH_PATHS[sdk=macosx*][config=Debug] = $(inherited) /opt/homebrew/opt/vulkan-validationlayers/lib /usr/local/opt/vulkan-validationlayers/lib
|
|
|
|
// Keep function symbols for KSCrash symbolication in release builds
|
|
// (debug symbols still go to dSYM files)
|
|
STRIP_STYLE[config=Release] = debugging
|
|
|
|
// actool's device-thinned compile flattens the layered tvOS icon wrong (black when unfocused)
|
|
ENABLE_ONLY_ACTIVE_RESOURCES[sdk=appletvos*] = NO
|
|
|
|
SRCBASE = $(SRCROOT)/../..
|
|
DEPS_DIR = $(SRCBASE)/deps
|
|
|
|
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)
|
|
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/7zip
|
|
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/SPIRV-Cross
|
|
HEADER_SEARCH_PATHS = $(inherited) $(GLSLANG_BUILTIN_HEADER_SEARCH_PATHS)
|
|
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/rcheevos/include
|
|
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/stb
|
|
HEADER_SEARCH_PATHS = $(inherited) $(SRCBASE)
|
|
HEADER_SEARCH_PATHS = $(inherited) $(SRCBASE)/gfx/include
|
|
HEADER_SEARCH_PATHS = $(inherited) $(SRCBASE)/libretro-common/include
|
|
|
|
CLANG_CXX_LANGUAGE_STANDARD=c++11
|
|
CLANG_ENABLE_OBJC_ARC=YES
|
|
INFOPLIST_FILE[sdk=macosx*] = $(SRCROOT)/OSX/Info_Metal.plist
|
|
|
|
#include? "/usr/local/share/retroarch-apple-deps/deps.xcconfig"
|