2 "prefix_header_file": false,
9 "swift_versions": "5.0",
10 "module_map": "Frameworks/MetalPetal/MetalPetal.modulemap",
15 "YuAo": "me@imyuao.com"
19 "git": "https://github.com/MetalPetal/MetalPetal.git",
23 "summary": "GPU-accelerated image and video processing framework based on Metal.",
24 "homepage": "https://github.com/MetalPetal/MetalPetal",
25 "default_subspecs": "Core",
28 "pod_target_xcconfig": {
29 "CLANG_CXX_LANGUAGE_STANDARD": "c++14"
33 "prefix_header_file": false,
35 "MetalPerformanceShaders",
38 "private_header_files": [
39 "Frameworks/MetalPetal/MTIPrint.h",
40 "Frameworks/MetalPetal/MTIDefer.h",
41 "Frameworks/MetalPetal/MTIHasher.h",
42 "Frameworks/MetalPetal/MTIImageRenderingContext+Internal.h",
43 "Frameworks/MetalPetal/MTIBlendFormulaSupport.h"
45 "source_files": "Frameworks/MetalPetal/**/*.{h,m,c,mm,metal}"
53 "source_files": "Frameworks/MetalPetal/**/*.{swift}",
54 "prefix_header_file": false,
56 "MetalPerformanceShaders",
69 "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",
70 "execution_position": "after_compile",
71 "name": "Build Metal Library - MSL 2.3"
76 "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",
77 "name": "Build Metal Library - MSL 2.3",
78 "execution_position": "after_compile"
83 "execution_position": "after_compile",
84 "name": "Build Metal Library - MSL 2.3",
85 "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"
88 "name": "AppleSilicon",
89 "prefix_header_file": false
93 "pod_target_xcconfig": {
94 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
98 "pod_target_xcconfig": {
99 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/Contents/Resources"
103 "pod_target_xcconfig": {
104 "METAL_LIBRARY_OUTPUT_DIR": "${TARGET_BUILD_DIR}/MetalPetal.bundle/"
107 "prefix_header_file": false,
108 "pod_target_xcconfig": {
109 "GCC_PREPROCESSOR_DEFINITIONS": "METALPETAL_DEFAULT_LIBRARY_IN_BUNDLE=1"
117 "resource_bundles": {
119 "Frameworks/MetalPetal/CocoaPodsBundledResourcePlaceholder"
123 "MetalPerformanceShaders",
128 "swift_version": "5.0"