forked from apple/swift-protobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package@swift-5.4.swift
41 lines (38 loc) · 1.52 KB
/
Package@swift-5.4.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
// swift-tools-version:5.0
// Package.swift
//
// Copyright (c) 2014 - 2018 Apple Inc. and the project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See LICENSE.txt for license information:
// https://github.com/apple/swift-protobuf/blob/main/LICENSE.txt
//
import PackageDescription
let package = Package(
name: "SwiftProtobuf",
products: [
.executable(name: "protoc-gen-swift", targets: ["protoc-gen-swift"]),
.library(name: "SwiftProtobuf", targets: ["SwiftProtobuf"]),
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobufCore"),
.target(name: "SwiftProtobufFoundationCompat",
dependencies: ["SwiftProtobufCore"]),
.target(name: "SwiftProtobuf",
dependencies: ["SwiftProtobufCore", "SwiftProtobufFoundationCompat"]),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "SwiftProtobufTestHelpers",
dependencies: ["SwiftProtobuf"]),
.target(name: "protoc-gen-swift",
dependencies: ["SwiftProtobufPluginLibrary", "SwiftProtobuf"]),
.target(name: "Conformance",
dependencies: ["SwiftProtobuf"]),
.testTarget(name: "SwiftProtobufTests",
dependencies: ["SwiftProtobuf"]),
.testTarget(name: "SwiftProtobufPluginLibraryTests",
dependencies: ["SwiftProtobufPluginLibrary", "SwiftProtobufTestHelpers"]),
],
swiftLanguageVersions: [.v5]
)