Pod::Spec.new do |spec|
|
spec.name = "@NAME@"
|
spec.version = "@VERSION@"
|
spec.authors = { "ONNX Runtime" => "onnxruntime@microsoft.com" }
|
spec.license = { :type => "MIT", :file => "@LICENSE_FILE@" }
|
spec.homepage = "https://github.com/microsoft/onnxruntime"
|
spec.source = { :http => "file:///http_source_placeholder" }
|
spec.summary = "@SUMMARY@"
|
spec.ios.deployment_target = "@IOS_DEPLOYMENT_TARGET@"
|
|
macosx_deployment_target = "@MACOSX_DEPLOYMENT_TARGET@"
|
if macosx_deployment_target != ""
|
spec.osx.deployment_target = macosx_deployment_target
|
end
|
|
spec.vendored_frameworks = "@ORT_C_FRAMEWORK@"
|
spec.static_framework = true
|
spec.weak_framework = [ @WEAK_FRAMEWORK@ ]
|
ios_system_frameworks = [ @IOS_SYSTEM_FRAMEWORKS@ ]
|
if !ios_system_frameworks.empty?
|
spec.ios.frameworks = ios_system_frameworks
|
end
|
ios_system_libraries = [ @IOS_SYSTEM_LIBRARIES@ ]
|
if !ios_system_libraries.empty?
|
spec.ios.libraries = ios_system_libraries
|
end
|
macos_system_frameworks = [ @MACOS_SYSTEM_FRAMEWORKS@ ]
|
if !macos_system_frameworks.empty?
|
spec.osx.frameworks = macos_system_frameworks
|
end
|
macos_system_libraries = [ @MACOS_SYSTEM_LIBRARIES@ ]
|
if !macos_system_libraries.empty?
|
spec.osx.libraries = macos_system_libraries
|
end
|
spec.source_files = "@ORT_C_HEADERS_DIR@/*.h"
|
spec.preserve_paths = [ "@LICENSE_FILE@" ]
|
spec.description = "@DESCRIPTION@"
|
spec.library = "c++"
|
spec.pod_target_xcconfig = {
|
"OTHER_CPLUSPLUSFLAGS" => "-fvisibility=hidden -fvisibility-inlines-hidden",
|
}
|
end
|