forked from Instagram/IGListKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
42 lines (41 loc) · 1.32 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.0
import PackageDescription
let package = Package(
name: "IGListKit",
platforms: [ .iOS(.v9),
.tvOS(.v9),
.macOS(.v10_11),
],
products: [
.library(name: "IGListDiffKit",
type: .static,
targets: ["IGListDiffKit"]),
.library(name: "IGListKit",
type: .static,
targets: ["IGListKit"]),
.library(name: "IGListSwiftKit",
type: .static,
targets: ["IGListSwiftKit"]),
],
targets: [
.target(
name: "IGListDiffKit",
path: "spm/Sources/IGListDiffKit",
cSettings: [.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release))]
),
.target(
name: "IGListKit",
dependencies: ["IGListDiffKit"],
path: "spm/Sources/IGListKit",
cSettings: [.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release))]
),
.target(
name: "IGListSwiftKit",
dependencies: ["IGListKit"],
path: "Source/IGListSwiftKit",
cSettings: [.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release))]
),
],
cLanguageStandard: .c11,
cxxLanguageStandard: .cxx11
)