forked from DataDog/dd-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
54 lines (52 loc) · 1.22 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
48
49
50
51
52
53
54
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "Datadog",
platforms: [
.iOS(.v11)
],
products: [
.library(
name: "Datadog",
type: .dynamic,
targets: ["Datadog"]
),
.library(
name: "DatadogObjc",
type: .dynamic,
targets: ["DatadogObjc"]
),
.library(
name: "DatadogStatic",
type: .static,
targets: ["Datadog"]
),
.library(
name: "DatadogStaticObjc",
type: .static,
targets: ["DatadogObjc"]
),
],
dependencies: [
.package(name: "Kronos", url: "https://github.com/lyft/Kronos.git", from: "4.2.1"),
],
targets: [
.target(
name: "Datadog",
dependencies: [
"_Datadog_Private",
.product(name: "Kronos", package: "Kronos"),
],
swiftSettings: [.define("SPM_BUILD")]
),
.target(
name: "DatadogObjc",
dependencies: [
"Datadog",
]
),
.target(
name: "_Datadog_Private"
),
]
)