This repository has been archived by the owner on Apr 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
FayeCpp+OpenSSL.podspec
60 lines (54 loc) · 2.32 KB
/
FayeCpp+OpenSSL.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
58
59
60
Pod::Spec.new do |s|
# Common settings
s.name = "FayeCpp+OpenSSL"
s.version = "1.1.0"
s.summary = "Faye C++ lightweight, cross-platform client with Objective-C client wrapper with SSL support"
s.description = <<-DESC
Faye C++ lightweight, cross-platform client with Objective-C client wrapper.
Library created with Pure C++ (features provided by Standard C++), without heavy STL and C++11 features.
You can use Objective-C wrapper or C++ client directly.
This pod version with SSL support.
DESC
s.homepage = "https://github.com/OlehKulykov/FayeCpp"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Oleh Kulykov" => "[email protected]" }
s.source = { :git => 'https://github.com/OlehKulykov/FayeCpp.git', :tag => s.version.to_s, :submodules => "true" }
s.dependency 'librws'
s.deprecated = true
s.deprecated_in_favor_of = 'FayeCpp'
# Platforms
# s.ios.deployment_target = "7.0"
# s.osx.deployment_target = "10.7"
s.tvos.deployment_target = '9.0'
# Build
s.public_header_files = 'fayecpp.h', 'contrib/objc/FayeCppClient.h'
s.source_files = 'contrib/objc/*.{h,mm}',
'fayecpp.h',
'builds/ios/*.{h}',
'src/*.{h,cpp}',
'jansson/src/*.{h,c}',
'libwebsockets/lib/*.{h}',
'libwebsockets/lib/base64-decode.c',
'libwebsockets/lib/client-handshake.c',
'libwebsockets/lib/client-parser.c',
'libwebsockets/lib/client.c',
'libwebsockets/lib/context.c',
'libwebsockets/lib/extension-permessage-deflate.c',
'libwebsockets/lib/extension.c',
'libwebsockets/lib/handshake.c',
'libwebsockets/lib/header.c',
'libwebsockets/lib/libwebsockets.c',
'libwebsockets/lib/lws-plat-unix.c',
'libwebsockets/lib/output.c',
'libwebsockets/lib/parsers.c',
'libwebsockets/lib/pollfd.c',
'libwebsockets/lib/service.c',
'libwebsockets/lib/sha-1.c',
'libwebsockets/lib/alloc.c'
s.resources = 'contrib/objc/FayeCpp.bundle'
s.compiler_flags = '-DHAVE_FAYECPP_CONFIG_H=1', '-DHAVE_CONFIG_H=1', '-DCMAKE_BUILD=1', '-DRE_HAVE_COREFOUNDATION_FRAMEWORK=1'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/FayeCpp/contrib/objc" "${PODS_ROOT}/FayeCpp/libwebsockets/lib" "${PODS_ROOT}/FayeCpp/jansson/src"' }
s.libraries = 'z', 'stdc++'
s.framework = 'CoreFoundation'
s.requires_arc = true
end