JosiahWI commented on code in PR #10717:
URL: https://github.com/apache/trafficserver/pull/10717#discussion_r1381651577
##########
CMakePresets.json:
##########
@@ -36,6 +36,19 @@
"CMAKE_INSTALL_CACHEDIR": "var/trafficserver"
}
},
+ {
+ "name": "release",
+ "displayName": "Release build",
+ "description": "Release build with Ninja generator",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build-release",
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "Release",
Review Comment:
You can set variables in the cache once it exists:
```
cmake --preset release
cmake -B build-release -DCMAKE_BUILD_TYPE=Debug
```
But I do not think CMake supports doing this in one step.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]