git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / Package.swift
CommitLineData
648db22b 1// swift-tools-version:5.0
2// The swift-tools-version declares the minimum version of Swift required to build this package.
3
4import PackageDescription
5
6let package = Package(
7 name: "zstd",
8 platforms: [
9 .macOS(.v10_10), .iOS(.v9), .tvOS(.v9)
10 ],
11 products: [
12 // Products define the executables and libraries a package produces, and make them visible to other packages.
13 .library(
14 name: "libzstd",
15 targets: [ "libzstd" ])
16 ],
17 dependencies: [
18 // Dependencies declare other packages that this package depends on.
19 // .package(url: /* package url */, from: "1.0.0"),
20 ],
21 targets: [
22 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
23 // Targets can depend on other targets in this package, and on products in packages this package depends on.
24 .target(
25 name: "libzstd",
26 path: "lib",
27 sources: [ "common", "compress", "decompress", "dictBuilder" ],
28 publicHeadersPath: ".",
29 cSettings: [
30 .headerSearchPath(".")
31 ])
32 ],
33 swiftLanguageVersions: [.v5],
34 cLanguageStandard: .gnu11,
35 cxxLanguageStandard: .gnucxx14
36)