Skip to content

Commit

Permalink
cmake: adding a release preset
Browse files Browse the repository at this point in the history
Used for benchmarking and users can use it
  • Loading branch information
bryancall committed Nov 2, 2023
1 parent 1157fc4 commit a6445aa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"CMAKE_COMPILE_WARNING_AS_ERROR": "OFF",
"CMAKE_INSTALL_PREFIX": "/opt/ats",
"BUILD_EXPERIMENTAL_PLUGINS": "ON"
}
},
{
"name": "autest",
"inherits": ["default"],
Expand Down

0 comments on commit a6445aa

Please sign in to comment.