Update CMakePresets.json

This commit is contained in:
Jack Christensen 2024-08-23 22:51:01 +00:00
parent 7be114a1f3
commit 43e95ead77
1 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
"version": 3, "version": 3,
"configurePresets": [ "configurePresets": [
{ {
"name": "Debug", "name": "debug",
"description": "Debug settings for TerraVisor", "description": "Debug settings for TerraVisor",
"hidden": false, "hidden": false,
"generator": "Ninja", "generator": "Ninja",
@ -10,19 +10,19 @@
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug", "CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "YES", "CMAKE_EXPORT_COMPILE_COMMANDS": "YES",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_TOOLCHAIN}" "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
} }
}, },
{ {
"name": "Release", "name": "release",
"description": "Release build settings for TerraVisor", "description": "Release build settings for TerraVisor",
"hidden": false, "hidden": false,
"generator": "Ninja", "generator": "Ninja",
"binaryDir": "${sourceDir}/build/release", "binaryDir": "${sourceDir}/build/release",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Release", "CMAKE_BUILD_TYPE": "Release",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_TOOLCHAIN}" "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
} }
} }
] ]
} }