1 // swift-tools-version:5.0
2 // The swift-tools-version declares the minimum version of Swift required to build this package.
4 import PackageDescription
9 .macOS(.v10_10), .iOS(.v9), .tvOS(.v9)
12 // Products define the executables and libraries a package produces, and make them visible to other packages.
15 targets: [ "libzstd" ])
18 // Dependencies declare other packages that this package depends on.
19 // .package(url: /* package url */, from: "1.0.0"),
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.
27 sources: [ "common", "compress", "decompress", "dictBuilder" ],
28 publicHeadersPath: ".",
30 .headerSearchPath(".")
33 swiftLanguageVersions: [.v5],
34 cLanguageStandard: .gnu11,
35 cxxLanguageStandard: .gnucxx14