CMakePresets: Only use LTO for RelWithDebInfo

This commit is contained in:
Luke Street 2022-07-26 01:08:46 -04:00
parent 8f389e246c
commit 6492ee2f87
1 changed files with 8 additions and 6 deletions

View File

@ -70,11 +70,7 @@
], ],
"cacheVariables": { "cacheVariables": {
"CMAKE_C_COMPILER": "clang", "CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++", "CMAKE_CXX_COMPILER": "clang++"
"USE_LTO": {
"type": "BOOL",
"value": true
}
} }
}, },
{ {
@ -91,7 +87,13 @@
"inherits": [ "inherits": [
"relwithdebinfo", "relwithdebinfo",
"linux-clang" "linux-clang"
] ],
"cacheVariables": {
"USE_LTO": {
"type": "BOOL",
"value": true
}
}
}, },
{ {
"name": "linux-clang-debug-asan", "name": "linux-clang-debug-asan",