-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSGLKit.podspec
57 lines (38 loc) · 1.68 KB
/
SGLKit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# SGLKit podspec
#
Pod::Spec.new do |spec|
spec.name = "SGLKit"
spec.summary = "Simple OpenGL Framework for iOS and OSX that supports Swift, Objective-C, and Objective-C++."
spec.version = "4.0.4"
spec.ios.deployment_target = '9.0'
spec.osx.deployment_target = '10.9'
spec.requires_arc = true
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.author = { "Colin Caufield" => "[email protected]" }
spec.homepage = "https://github.com/cjcaufield/SGLKit"
spec.source = { :git => "https://github.com/cjcaufield/SGLKit.git", :tag => "#{spec.version}" }
spec.ios.frameworks = "UIKit", "CoreGraphics", "OpenGL", "GLKit", "CoreMotion"
spec.osx.framework = "Cocoa", "CoreGraphics", "OpenGL", "GLKit", "CoreVideo", "CoreServices", "GLUT"
#spec.dependency 'OpenSSL', '~> 1.0'
spec.ios.exclude_files = "**/osx/**/*.*"
spec.osx.exclude_files = "**/ios/**/*.*"
#spec.source_files = "SGLKit/**/*.{h,m,mm,swift}" # Taking out swift for now due to linker issues with the OpenSSL pod.
spec.source_files = "SGLKit/**/*.{h,m,mm}"
spec.public_header_files = "SGLKit/**/*.h"
spec.ios.resources = "SGLKit/**/*.{png,jpeg,jpg,storyboard,xib,glsl,vert,frag}"
spec.osx.resources = "SGLKit/**/*.{png,jpeg,jpg,xib,glsl,vert,frag}"
#
# Experimenting with static library linking:
#
#spec.ios.xcconfig = {
# 'HEADER_SEARCH_PATHS' => "Pods/OpenSSL-Universal/include-ios",
# 'LIBRARY_SEARCH_PATHS' => "Pods/OpenSSL-Universal/lib-ios",
# 'OTHER_LINKER_FLAGS' => "-ObjC -lssl, -lcrypto",
#}
#spec.osx.xcconfig = {
# 'HEADER_SEARCH_PATHS' => "Pods/OpenSSL-Universal/include-osx",
# 'LIBRARY_SEARCH_PATHS' => "Pods/OpenSSL-Universal/lib-osx",
# 'OTHER_LINKER_FLAGS' => "-ObjC -lssl, -lcrypto",
#}
end