forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
39 lines (37 loc) · 1.09 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
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "swift-plugin-server",
platforms: [
.macOS(.v10_15)
],
dependencies: [
.package(path: "../../../swift-syntax"),
.package(path: "../../lib/ASTGen"),
],
targets: [
.target(
name: "CSwiftPluginServer",
cxxSettings: [
.unsafeFlags([
"-I", "../../include",
"-I", "../../../llvm-project/llvm/include",
])
]
),
.executableTarget(
name: "swift-plugin-server",
dependencies: [
.product(name: "swiftLLVMJSON", package: "ASTGen"),
.product(name: "SwiftCompilerPluginMessageHandling", package: "swift-syntax"),
.product(name: "SwiftDiagnostics", package: "swift-syntax"),
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftOperators", package: "swift-syntax"),
.product(name: "SwiftParser", package: "swift-syntax"),
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
"CSwiftPluginServer"
]
),
],
cxxLanguageStandard: .cxx17
)