mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Enable LTO for release targets.
This commit is contained in:
parent
417805ae38
commit
1631a27a4e
1 changed files with 3 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
"cacheVariables": {
|
||||
"CMAKE_C_COMPILER": "clang-cl.exe",
|
||||
"CMAKE_CXX_COMPILER": "clang-cl.exe",
|
||||
"CMAKE_LINKER": "lld-link.exe",
|
||||
"CMAKE_TOOLCHAIN_FILE": {
|
||||
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
||||
"type": "FILEPATH"
|
||||
|
|
@ -43,7 +44,8 @@
|
|||
"displayName": "Release",
|
||||
"inherits": "x64-Clang-Debug",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release"
|
||||
"CMAKE_BUILD_TYPE": "Release",
|
||||
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue