forked from facebookincubator/SocketRocket
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
76 lines (75 loc) · 3.65 KB
/
Package.swift
File metadata and controls
76 lines (75 loc) · 3.65 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
// swift-tools-version:5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SocketRocket",
defaultLocalization: "en",
platforms: [.iOS(.v12)],
products: [
.library(
name: "SocketRocket",
targets: ["SocketRocket"]
),
],
dependencies: [],
targets: [
.target(
name: "SocketRocket",
path: ".",
exclude: ["SocketRocket/Resources"],
sources: [
"include/SocketRocket/SRWebSocket.h",
"include/SocketRocket/NSRunLoop+SRWebSocket.h",
"include/SocketRocket/NSURLRequest+SRWebSocket.h",
"include/SocketRocket/SRSecurityPolicy.h",
"include/SocketRocket/SocketRocket.h",
"SocketRocket/NSRunLoop+SRWebSocket.m",
"SocketRocket/NSURLRequest+SRWebSocket.m",
"SocketRocket/SRSecurityPolicy.m",
"SocketRocket/SRWebSocket.m",
"SocketRocket/Internal/SRConstants.m",
"SocketRocket/Internal/SRConstants.h",
"SocketRocket/Internal/Delegate/SRDelegateController.m",
"SocketRocket/Internal/Delegate/SRDelegateController.h",
"SocketRocket/Internal/IOConsumer/SRIOConsumer.m",
"SocketRocket/Internal/IOConsumer/SRIOConsumer.h",
"SocketRocket/Internal/IOConsumer/SRIOConsumerPool.m",
"SocketRocket/Internal/IOConsumer/SRIOConsumerPool.h",
"SocketRocket/Internal/Proxy/SRProxyConnect.m",
"SocketRocket/Internal/Proxy/SRProxyConnect.h",
"SocketRocket/Internal/RunLoop/SRRunLoopThread.m",
"SocketRocket/Internal/RunLoop/SRRunLoopThread.h",
"SocketRocket/Internal/Security/SRPinningSecurityPolicy.h",
"SocketRocket/Internal/Security/SRPinningSecurityPolicy.m",
"SocketRocket/Internal/Utilities/SRError.h",
"SocketRocket/Internal/Utilities/SRError.m",
"SocketRocket/Internal/Utilities/SRHash.h",
"SocketRocket/Internal/Utilities/SRHash.m",
"SocketRocket/Internal/Utilities/SRHTTPConnectMessage.h",
"SocketRocket/Internal/Utilities/SRHTTPConnectMessage.m",
"SocketRocket/Internal/Utilities/SRLog.m",
"SocketRocket/Internal/Utilities/SRLog.h",
"SocketRocket/Internal/Utilities/SRMutex.h",
"SocketRocket/Internal/Utilities/SRMutex.m",
"SocketRocket/Internal/Utilities/SRRandom.m",
"SocketRocket/Internal/Utilities/SRRandom.h",
"SocketRocket/Internal/Utilities/SRSIMDHelpers.h",
"SocketRocket/Internal/Utilities/SRSIMDHelpers.m",
"SocketRocket/Internal/Utilities/SRURLUtilities.m",
"SocketRocket/Internal/Utilities/SRURLUtilities.h",
],
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("include"),
.headerSearchPath("include/SocketRocket"),
.headerSearchPath("SocketRocket/Internal"),
.headerSearchPath("SocketRocket/Internal/Delegate"),
.headerSearchPath("SocketRocket/Internal/IOConsumer"),
.headerSearchPath("SocketRocket/Internal/Proxy"),
.headerSearchPath("SocketRocket/Internal/RunLoop"),
.headerSearchPath("SocketRocket/Internal/Security"),
.headerSearchPath("SocketRocket/Internal/Utilities")
]
)
]
)