2021-01-27 01:14:34 +03:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "WindowsAzureMessaging",
|
|
|
|
defaultLocalization: "en",
|
|
|
|
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: [
|
2021-08-05 22:54:04 +03:00
|
|
|
.define("NH_C_VERSION", to:"\"3.1.5\""),
|
2021-01-27 01:14:34 +03:00
|
|
|
.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]))
|
|
|
|
]
|
|
|
|
)
|
|
|
|
]
|
|
|
|
)
|