-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
136 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,119 @@ | ||
{ | ||
"version": 8, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 21, | ||
"patch": 0 | ||
"version": 6, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 21, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "ninja", | ||
"displayName": "Ninja Configure Settings", | ||
"description": "Sets build and install directories", | ||
"binaryDir": "${sourceDir}/builds/${presetName}", | ||
"generator": "Ninja" | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "ninja-multi-vcpkg", | ||
"displayName": "Ninja Multi-Config", | ||
"description": "Configure with vcpkg toolchain and generate Ninja project files for all configurations", | ||
"binaryDir": "${sourceDir}/builds/${presetName}", | ||
"generator": "Ninja Multi-Config", | ||
"toolchainFile": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake" | ||
{ | ||
"name": "ninja-toolchain", | ||
"displayName": "Ninja Configure Settings with toolchain", | ||
"description": "Sets build and install directories", | ||
"binaryDir": "${sourceDir}/builds/${presetName}-toolchain", | ||
"generator": "Ninja", | ||
"toolchainFile": "$env{TOOLCHAINFILE}" | ||
}, | ||
{ | ||
"name": "ninja-multi-vcpkg", | ||
"displayName": "Ninja Multi-Config Configure Settings", | ||
"description": "Configure with vcpkg toolchain", | ||
"binaryDir": "${sourceDir}/builds/${presetName}", | ||
"generator": "Ninja Multi-Config", | ||
"cacheVariables": { | ||
"CMAKE_TOOLCHAIN_FILE": { | ||
"type": "FILEPATH", | ||
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "ninja-vcpkg-debug", | ||
"configurePreset": "ninja-multi-vcpkg", | ||
"displayName": "Build (Debug)", | ||
"description": "Build with Ninja/vcpkg (Debug)", | ||
"configuration": "Debug" | ||
}, | ||
} | ||
}, | ||
{ | ||
"name": "msbuild-vcpkg", | ||
"displayName": "MSBuild (vcpkg toolchain) Configure Settings", | ||
"description": "Configure with VS generators and with vcpkg toolchain", | ||
"binaryDir": "${sourceDir}/builds/${presetName}", | ||
"generator": "Visual Studio 17 2022", | ||
"architecture": { | ||
"strategy": "set", | ||
"value": "x64" | ||
}, | ||
"cacheVariables": { | ||
"CMAKE_TOOLCHAIN_FILE": { | ||
"type": "FILEPATH", | ||
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" | ||
} | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "ninja", | ||
"configurePreset": "ninja", | ||
"displayName": "Build with Ninja", | ||
"description": "Build with Ninja" | ||
}, | ||
{ | ||
"name": "ninja-multi-vcpkg", | ||
"configurePreset": "ninja-multi-vcpkg", | ||
"displayName": "Build ninja-multi-vcpkg", | ||
"description": "Build ninja-multi-vcpkg Configurations" | ||
}, | ||
{ | ||
"name": "ninja-toolchain", | ||
"configurePreset": "ninja-toolchain", | ||
"displayName": "Build ninja-toolchain", | ||
"description": "Build ninja with a toolchain" | ||
}, | ||
{ | ||
"name": "msbuild-vcpkg", | ||
"configurePreset": "msbuild-vcpkg", | ||
"displayName": "Build MSBuild", | ||
"description": "Build with MSBuild (VS)" | ||
} | ||
], | ||
"workflowPresets": [ | ||
{ | ||
"name": "ninja-workflow", | ||
"steps": [ | ||
{ | ||
"name": "ninja-vcpkg-release", | ||
"configurePreset": "ninja-multi-vcpkg", | ||
"displayName": "Build (Release)", | ||
"description": "Build with Ninja/vcpkg (Release)", | ||
"configuration": "Release" | ||
"type": "configure", | ||
"name": "ninja-multi-vcpkg" | ||
}, | ||
{ | ||
"name": "ninja-vcpkg", | ||
"configurePreset": "ninja-multi-vcpkg", | ||
"displayName": "Build", | ||
"description": "Build with Ninja/vcpkg" | ||
"type": "build", | ||
"name": "ninja-multi-vcpkg" | ||
} | ||
] | ||
] | ||
} | ||
], | ||
"packagePresets": [ | ||
{ | ||
"packageName": "default-package-name", | ||
"packageVersion": "0.1", | ||
"name": "default", | ||
"configurePreset": "ninja", | ||
"generators": [ | ||
"TGZ" | ||
] | ||
}, | ||
{ | ||
"packageName": "default-multi-package-name", | ||
"packageVersion": "0.1", | ||
"name": "ninja-multi-vcpkg", | ||
"configurePreset": "ninja-multi-vcpkg", | ||
"generators": [ | ||
"TGZ" | ||
], | ||
"configurations": [ | ||
"Release" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters