forked from tayloraswift/swift-jpeg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
45 lines (42 loc) · 2.83 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
43
44
45
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "JPEG",
products:
[
.library( name: "jpeg", targets: ["JPEG"]),
.executable(name: "fuzzer", targets: ["JPEGFuzzer"]),
.executable(name: "comparator", targets: ["JPEGComparator"]),
.executable(name: "unit-test", targets: ["JPEGUnitTests"]),
.executable(name: "regression-test", targets: ["JPEGRegressionTests"]),
.executable(name: "integration-test", targets: ["JPEGIntegrationTests"]),
.executable(name: "decode-basic", targets: ["JPEGDecodeBasic"]),
.executable(name: "encode-basic", targets: ["JPEGEncodeBasic"]),
.executable(name: "decode-advanced", targets: ["JPEGDecodeAdvanced"]),
.executable(name: "encode-advanced", targets: ["JPEGEncodeAdvanced"]),
.executable(name: "in-memory", targets: ["JPEGInMemory"]),
.executable(name: "decode-online", targets: ["JPEGDecodeOnline"]),
.executable(name: "recompress", targets: ["JPEGRecompress"]),
.executable(name: "rotate", targets: ["JPEGRotate"]),
.executable(name: "custom-color", targets: ["JPEGCustomColor"]),
],
targets:
[
.target(name: "JPEG", path: "sources/jpeg"),
.target(name: "JPEGFuzzer", dependencies: ["JPEG"], path: "tests/fuzz"),
.target(name: "JPEGComparator", dependencies: ["JPEG"], path: "tests/compare"),
.target(name: "JPEGUnitTests", dependencies: ["JPEG"], path: "tests/unit"),
.target(name: "JPEGRegressionTests", dependencies: ["JPEG"], path: "tests/regression"),
.target(name: "JPEGIntegrationTests", dependencies: ["JPEG"], path: "tests/integration"),
.target(name: "JPEGDecodeBasic", dependencies: ["JPEG"], path: "examples/decode-basic"),
.target(name: "JPEGEncodeBasic", dependencies: ["JPEG"], path: "examples/encode-basic"),
.target(name: "JPEGDecodeAdvanced", dependencies: ["JPEG"], path: "examples/decode-advanced"),
.target(name: "JPEGEncodeAdvanced", dependencies: ["JPEG"], path: "examples/encode-advanced"),
.target(name: "JPEGInMemory", dependencies: ["JPEG"], path: "examples/in-memory"),
.target(name: "JPEGDecodeOnline", dependencies: ["JPEG"], path: "examples/decode-online"),
.target(name: "JPEGRecompress", dependencies: ["JPEG"], path: "examples/recompress"),
.target(name: "JPEGRotate", dependencies: ["JPEG"], path: "examples/rotate"),
.target(name: "JPEGCustomColor", dependencies: ["JPEG"], path: "examples/custom-color"),
],
swiftLanguageVersions: [.v4_2, .v5]
)