Skip to content

Commit

Permalink
Use inheritance in CMakePresets.json
Browse files Browse the repository at this point in the history
  • Loading branch information
alef committed Feb 12, 2024
1 parent 8758a6f commit 2816f43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@
"displayName": "Windows Tiles Sounds x64 MSVC",
"description": "Target Windows (64-bit) with the Visual Studio development environment.",
"generator": "Visual Studio 16 2019",
"inherits": "windows-tiles-sounds-x64",
"environment": {
"VCPKG_ROOT": "C:/vcpkg"
},
"cacheVariables": {
"CMAKE_PROJECT_INCLUDE_BEFORE": "${sourceDir}/build-scripts/${presetName}.cmake",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/build-scripts/MSVC.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
},
{
"name": "windows-tiles-sounds-x64-llvm",
"binaryDir": "${sourceDir}/out/build/${presetName}",
Expand Down

0 comments on commit 2816f43

Please sign in to comment.