• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // swift-tools-version: 5.9
2 // The swift-tools-version declares the minimum version of Swift required to build this package.
3 
4 import PackageDescription
5 
6 let package = Package(
7     name: "nlohmann-json",
8      platforms: [
9         .iOS(.v12), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v4)
10     ],
11     products: [
12         .library(name: "json", targets: ["json"])
13     ],
14     targets: [
15         .target(
16             name: "json",
17             path: "single_include/nlohmann",
18             publicHeadersPath: "."
19         )
20     ],
21     cxxLanguageStandard: .cxx11
22 )
23