2 "default_subspecs": "Core",
3 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
4 "homepage": "https://github.com/MetalPetal/MetalPetal",
6 "git": "https://github.com/MetalPetal/MetalPetal.git",
12 "swift_versions": "5.0",
19 "YuAo": "me@imyuao.com"
24 "prefix_header_file": false,
25 "summary": "GPU-accelerated image and video processing framework based on Metal.",
30 "private_header_files": [
31 "Frameworks/MetalPetal/MTIPrint.h",
32 "Frameworks/MetalPetal/MTIDefer.h",
33 "Frameworks/MetalPetal/MTIHasher.h",
34 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
35 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
37 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
39 "MetalPerformanceShaders",
42 "pod_target_xcconfig": {
43 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
45 "prefix_header_file": false
48 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
56 "MetalPerformanceShaders",
59 "prefix_header_file": false
64 "execution_position": "after_compile",
65 "name": "Build Metal Library - MSL 2.3",
66 "script": "set -e\nset -u\nset -o pipefail\ncd \"${PODS_TARGET_SRCROOT}/Frameworks/MetalPetal/Shaders/\"\nxcrun metal -target \"air64-${LLVM_TARGET_TRIPLE_VENDOR}-${LLVM_TARGET_TRIPLE_OS_VERSION}${LLVM_TARGET_TRIPLE_SUFFIX:-\"\"}\" -ffast-math -std=ios-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n"
71 "name": "Build Metal Library - MSL 2.3",
72 "execution_position": "after_compile",
73 "script": "set -e\nset -u\nset -o pipefail\ncd \"${PODS_TARGET_SRCROOT}/Frameworks/MetalPetal/Shaders/\"\nxcrun metal -target \"air64-${LLVM_TARGET_TRIPLE_VENDOR}-${LLVM_TARGET_TRIPLE_OS_VERSION}${LLVM_TARGET_TRIPLE_SUFFIX:-\"\"}\" -ffast-math -std=ios-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n"
76 "name": "AppleSilicon",
79 "execution_position": "after_compile",
80 "script": "set -e\nset -u\nset -o pipefail\ncd \"${PODS_TARGET_SRCROOT}/Frameworks/MetalPetal/Shaders/\"\nxcrun metal -target \"air64-${LLVM_TARGET_TRIPLE_VENDOR}-${LLVM_TARGET_TRIPLE_OS_VERSION}${LLVM_TARGET_TRIPLE_SUFFIX:-\"\"}\" -ffast-math -std=macos-metal2.3 -o \"${METAL_LIBRARY_OUTPUT_DIR}/default.msl23.metallib\" *.metal\n",
81 "name": "Build Metal Library - MSL 2.3"
84 "prefix_header_file": false,
92 "prefix_header_file": false,
95 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
99 "MetalPerformanceShaders",
104 "pod_target_xcconfig": {
105 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
108 "pod_target_xcconfig": {
109 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
112 "pod_target_xcconfig": {
113 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
122 "pod_target_xcconfig": {
123 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
128 "swift_version": "5.0"