forked from bugsnag/bugsnag-cocoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
47 lines (46 loc) · 1.53 KB
/
Package.swift
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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "Bugsnag",
platforms: [
.macOS(.v10_11),
.tvOS("9.2"),
.iOS("9.3"),
],
products: [
.library(name: "Bugsnag", targets: ["Bugsnag"]),
],
dependencies: [],
targets: [
.target(
name: "Bugsnag",
dependencies: [],
path: "Bugsnag",
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("."),
.headerSearchPath("Breadcrumbs"),
.headerSearchPath("Client"),
.headerSearchPath("Configuration"),
.headerSearchPath("Delivery"),
.headerSearchPath("Helpers"),
.headerSearchPath("include/Bugsnag"),
.headerSearchPath("KSCrash"),
.headerSearchPath("KSCrash/Source/KSCrash/Recording"),
.headerSearchPath("KSCrash/Source/KSCrash/Recording/Sentry"),
.headerSearchPath("KSCrash/Source/KSCrash/Recording/Tools"),
.headerSearchPath("KSCrash/Source/KSCrash/Reporting/Filters"),
.headerSearchPath("Metadata"),
.headerSearchPath("Payload"),
.headerSearchPath("Plugins"),
.headerSearchPath("Storage"),
],
linkerSettings: [
.linkedLibrary("z"),
.linkedLibrary("c++"),
]
),
],
cLanguageStandard: .gnu11,
cxxLanguageStandard: .gnucxx14
)