cmake: Make the clang release build always lto.

This commit is contained in:
arcum42 2023-01-03 18:12:42 -08:00
parent 3254d27fc2
commit 949d455d2f
1 changed files with 3 additions and 12 deletions

View File

@ -28,16 +28,6 @@
"CMAKE_CXX_COMPILER": "clang++"
}
},
{
"name": "lto",
"displayName": "Default Profile using clang/ninja & lto.",
"description": "Release lto build using ninja & clang.",
"inherits": "clang-base",
"cacheVariables": {
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "ninja-multi",
"displayName": "Ninja Multi Config",
@ -126,11 +116,12 @@
{
"name": "clang-release",
"displayName": "Clang Release",
"description": "Release build using ninja & clang.",
"description": "Release lto build using ninja & clang.",
"inherits": "clang-base",
"cacheVariables": {
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
"CMAKE_BUILD_TYPE": "Release"
}
}
]
}
}