4 "git": "https://github.com/MetalPetal/MetalPetal.git"
10 "default_subspecs": "Core",
11 "summary": "GPU-accelerated image and video processing framework based on Metal.",
12 "swift_versions": "5.0",
13 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
14 "prefix_header_file": false,
16 "YuAo": "me@imyuao.com"
25 "homepage": "https://github.com/MetalPetal/MetalPetal",
29 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}",
30 "pod_target_xcconfig": {
31 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
34 "MetalPerformanceShaders",
37 "private_header_files": [
38 "Frameworks/MetalPetal/MTIPrint.h",
39 "Frameworks/MetalPetal/MTIDefer.h",
40 "Frameworks/MetalPetal/MTIHasher.h",
41 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
42 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
44 "prefix_header_file": false,
54 "MetalPerformanceShaders",
57 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
58 "prefix_header_file": false,
64 "execution_position": "after_compile",
65 "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",
66 "name": "Build Metal Library - MSL 2.3"
71 "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",
72 "name": "Build Metal Library - MSL 2.3",
73 "execution_position": "after_compile"
76 "prefix_header_file": false,
84 "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",
85 "name": "Build Metal Library - MSL 2.3",
86 "execution_position": "after_compile"
89 "name": "AppleSilicon"
93 "pod_target_xcconfig": {
94 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
103 "pod_target_xcconfig": {
104 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
109 "pod_target_xcconfig": {
110 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
113 "prefix_header_file": false,
114 "pod_target_xcconfig": {
115 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
117 "resource_bundles": {
119 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
123 "MetalPerformanceShaders",
128 "swift_version": "5.0"