forked from alibaba/LuaViewSDK
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathliblua.podspec
More file actions
Latest commit
86 lines (66 loc) · 3.11 KB
/
Copy pathliblua.podspec
File metadata and controls
86 lines (66 loc) · 3.11 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Pod::Spec.newdo |s|
s.name="liblua"
s.version="5.1.4"
s.summary="liblua"
s.description=<<-DESC
A longer description of liblua.podspec in Markdown format.
* LuaView
DESC
s.homepage="http://gitlab.alibaba-inc.com/luaview/luaviewsdk"
s.license={:type=>'GNU General Public Licence (GPL), Version 2.0',:file=>'LICENSE.txt'}
s.author={"城西"=>"xicheng.dxc@alibaba-inc.com"}
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# If this Pod runs only on iOS or OS X, then specify the platform and
# the deployment target. You can optionally include the target after the platform.
#
s.platform=:ios,"7.0"
s.source={:git=>"https://github.com/alibaba/LuaViewSDK.git",:tag=>"0.5.0"}
s.source_files="IOS/lua/lua/*.{h,m,c}"
# s.exclude_files = "Classes/Exclude"
s.public_header_files=[
"IOS/lua/lua/lua.h",
"IOS/lua/lua/lauxlib.h",
"IOS/lua/lua/lualib.h",
"IOS/lua/lua/lstate.h",
"IOS/lua/lua/lgc.h",
"IOS/lua/lua/lapi.h"
]
s.private_header_files=Dir['IOS/lua/lua/**/*.h'] - [
"IOS/lua/lua/lua.h",
"IOS/lua/lua/lauxlib.h",
"IOS/lua/lua/lualib.h",
"IOS/lua/lua/lstate.h",
"IOS/lua/lua/lgc.h",
"IOS/lua/lua/lapi.h"
]
s.header_mappings_dir="IOS/lua/lua"
s.pod_target_xcconfig={
'DEFINES_MODULE'=>'YES',
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'=>'YES'
}
# s.static_framework = true
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# A list of resources included with the Pod. These are copied into the
# target bundle with a build phase script. Anything else will be cleaned.
# You can preserve files from being cleaned, please don't preserve
# non-essential files like tests, examples and documentation.
#
# s.resource = "icon.png"
# s.resources = "Resources/*.png"
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Link your library with frameworks, or libraries. Libraries do not include
# the lib prefix of their name.
#
s.frameworks='Foundation','UIKit','CoreGraphics'
s.libraries='z'
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# If your library depends on compiler flags you can set them in the xcconfig hash
# where they will only apply to your library. If you depend on other Podspecs
# you can include multiple dependencies to ensure it works.
s.requires_arc=true
end