forked from swiftlang/swift-driver
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
42 lines (39 loc) · 1.11 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "swift-driver",
platforms: [
.macOS(.v10_13),
],
products: [
.executable(
name: "swift-driver",
targets: ["swift-driver"]),
.library(
name: "SwiftDriver",
targets: ["SwiftDriver"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-tools-support-core.git", .branch("master")),
.package(url: "https://github.com/apple/swift-llbuild.git", .branch("master")),
.package(url: "https://github.com/jpsim/Yams.git", .branch("master")),
],
targets: [
/// The driver library.
.target(
name: "SwiftDriver",
dependencies: ["SwiftToolsSupport-auto", "llbuildSwift", "Yams"]),
.testTarget(
name: "SwiftDriverTests",
dependencies: ["SwiftDriver", "swift-driver"]),
/// The primary driver executable.
.target(
name: "swift-driver",
dependencies: ["SwiftDriver"]),
/// The `makeOptions` utility (for importing option definitions).
.target(
name: "makeOptions",
dependencies: []),
],
cxxLanguageStandard: .cxx14
)