mirror of
https://github.com/nlohmann/json.git
synced 2026-10-06 06:30:31 +00:00
Squashed onto develop from: - Make the json.tar.xz release archive configure standalone - Update the supported compiler list and the CITATION.cff repository link - Add json_fwd.hpp to the Bazel singleheader-json target - Document SwiftPM's #include <json.hpp> form and add CI coverage - Migrate REUSE metadata from deprecated .reuse/dep5 to REUSE.toml Signed-off-by: Niels Lohmann <mail@nlohmann.me>
23 lines
570 B
Swift
23 lines
570 B
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "nlohmann-json",
|
|
platforms: [
|
|
.iOS(.v12), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v9), .visionOS(.v1)
|
|
],
|
|
products: [
|
|
.library(name: "json", targets: ["json"])
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "json",
|
|
path: "single_include/nlohmann",
|
|
publicHeadersPath: "."
|
|
)
|
|
],
|
|
cxxLanguageStandard: .cxx11
|
|
)
|