mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Add RelWithDebInfo preset for Linux.
This commit is contained in:
parent
c22027be6a
commit
290ee4e02c
1 changed files with 21 additions and 31 deletions
|
|
@ -60,14 +60,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-debug",
|
"name": "linux-base",
|
||||||
"displayName": "Linux Debug",
|
"hidden": true,
|
||||||
"description": "Target the Windows Subsystem for Linux (WSL) or a remote Linux system.",
|
|
||||||
"generator": "Ninja",
|
"generator": "Ninja",
|
||||||
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
||||||
"installDir": "${sourceDir}/out/install/${presetName}",
|
"installDir": "${sourceDir}/out/install/${presetName}",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Debug",
|
|
||||||
"CMAKE_TOOLCHAIN_FILE": {
|
"CMAKE_TOOLCHAIN_FILE": {
|
||||||
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
||||||
"type": "FILEPATH"
|
"type": "FILEPATH"
|
||||||
|
|
@ -92,37 +90,29 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-debug",
|
||||||
|
"displayName": "Linux-Debug",
|
||||||
|
"inherits": "linux-base",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": "Debug"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-relwithdebinfo",
|
||||||
|
"displayName": "Linux-RelWithDebInfo",
|
||||||
|
"inherits": "linux-base",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-release",
|
"name": "linux-release",
|
||||||
"displayName": "Linux Release",
|
"displayName": "Linux-Release",
|
||||||
"description": "Target the Windows Subsystem for Linux (WSL) or a remote Linux system.",
|
"inherits": "linux-base",
|
||||||
"generator": "Ninja",
|
|
||||||
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
||||||
"installDir": "${sourceDir}/out/install/${presetName}",
|
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Release",
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
"CMAKE_TOOLCHAIN_FILE": {
|
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": true
|
||||||
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
||||||
"type": "FILEPATH"
|
|
||||||
},
|
|
||||||
"VCPKG_TARGET_TRIPLET": {
|
|
||||||
"value": "x64-linux",
|
|
||||||
"type": "STRING"
|
|
||||||
},
|
|
||||||
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/toolchains/linux-clang.cmake"
|
|
||||||
},
|
|
||||||
"environment": {
|
|
||||||
"VCPKG_ROOT": "${sourceDir}/thirdparty/vcpkg"
|
|
||||||
},
|
|
||||||
"condition": {
|
|
||||||
"type": "equals",
|
|
||||||
"lhs": "${hostSystemName}",
|
|
||||||
"rhs": "Linux"
|
|
||||||
},
|
|
||||||
"vendor": {
|
|
||||||
"microsoft.com/VisualStudioRemoteSettings/CMake/2.0": {
|
|
||||||
"remoteSourceRootDir": "$env{HOME}/.vs/$ms{projectDirName}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue