mirror of https://github.com/PCSX2/pcsx2.git
cmake: Make the clang release build always lto.
This commit is contained in:
parent
3254d27fc2
commit
949d455d2f
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue