forked from signalapp/libsignal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
34 lines (30 loc) · 780 Bytes
/
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
// swift-tools-version:5.0
//
// Copyright 2020-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
import PackageDescription
let rustBuildDir = "../target/debug/"
let package = Package(
name: "SignalClient",
products: [
.library(
name: "SignalClient",
targets: ["SignalClient"]
)
],
dependencies: [],
targets: [
.systemLibrary(name: "SignalFfi"),
.target(
name: "SignalClient",
dependencies: ["SignalFfi"],
exclude: ["Logging.m"]
),
.testTarget(
name: "SignalClientTests",
dependencies: ["SignalClient"],
linkerSettings: [.unsafeFlags(["\(rustBuildDir)/libsignal_ffi.a"])]
)
]
)