-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathPackage.swift
40 lines (37 loc) · 1.15 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
// swift-tools-version:5.0
// Copyright (c) Microsoft Corporation. All rights reserved.
import PackageDescription
let package = Package(
name: "WindowsAzureMessaging",
platforms: [
.iOS(.v9),
.macOS(.v10_10),
.tvOS(.v11)
],
products: [
.library(
name: "WindowsAzureMessaging",
type: .static,
targets: ["WindowsAzureMessaging"]),
],
dependencies: [],
targets: [
.target(
name: "WindowsAzureMessaging",
path: "WindowsAzureMessaging/WindowsAzureMessaging",
exclude: ["Support"],
cSettings: [
.define("NH_C_VERSION", to:"\"3.1.5\""),
.define("NH_C_BUILD", to:"\"1\""),
.headerSearchPath("**"),
],
linkerSettings: [
.linkedFramework("Foundation"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("UserNotifications"),
.linkedFramework("AppKit", .when(platforms: [.macOS])),
.linkedFramework("UIKit", .when(platforms: [.iOS, .tvOS]))
]
)
]
)