[build] Name CMake presets more consistently (#7154)

This commit is contained in:
Jade
2024-10-04 03:29:27 +08:00
committed by GitHub
parent f82e1c9d48
commit a8a5d1609b
2 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
"cacheVariables": {}
},
{
"name": "sccache",
"name": "with-sccache",
"displayName": "",
"description": "Ninja config with sccache",
"generator": "Ninja",
@@ -36,11 +36,11 @@
}
},
{
"name": "with-java-sccache",
"name": "with-java-and-sccache",
"displayName": "",
"description": "Ninja config with Java and sccache",
"generator": "Ninja",
"inherits": "sccache",
"inherits": "with-sccache",
"binaryDir": "build-cmake",
"cacheVariables": {
"WITH_JAVA": "ON"