Merge branch 'nlohmann:develop' into feature/sapitskiy/spm-support
This commit is contained in:
commit
b87c908c01
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
@ -29,6 +29,7 @@ jobs:
|
|||||||
uses: egor-tensin/setup-mingw@v2
|
uses: egor-tensin/setup-mingw@v2
|
||||||
with:
|
with:
|
||||||
platform: ${{ matrix.architecture }}
|
platform: ${{ matrix.architecture }}
|
||||||
|
version: 12.2.0 # https://github.com/egor-tensin/setup-mingw/issues/14
|
||||||
- name: Run CMake
|
- name: Run CMake
|
||||||
run: cmake -S . -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
|
run: cmake -S . -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@ -6,14 +6,14 @@ import PackageDescription
|
|||||||
let package = Package(
|
let package = Package(
|
||||||
name: "nlohmann-json",
|
name: "nlohmann-json",
|
||||||
platforms: [
|
platforms: [
|
||||||
.iOS(.v11), .macOS(.v10_13), .tvOS(.v11), .watchOS(.v4)
|
.iOS(.v12), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v4)
|
||||||
],
|
],
|
||||||
products: [
|
products: [
|
||||||
.library(name: "nlohmann-json", targets: ["nlohmann-json"])
|
.library(name: "json", targets: ["json"])
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
name: "nlohmann-json",
|
name: "json",
|
||||||
path: "single_include/nlohmann",
|
path: "single_include/nlohmann",
|
||||||
publicHeadersPath: "."
|
publicHeadersPath: "."
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user