mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
Add linux-release config.
This commit is contained in:
parent
5d2f52a64c
commit
53f3d34a46
1 changed files with 33 additions and 0 deletions
|
|
@ -88,6 +88,39 @@
|
||||||
"remoteSourceRootDir": "$env{HOME}/.vs/$ms{projectDirName}"
|
"remoteSourceRootDir": "$env{HOME}/.vs/$ms{projectDirName}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux-release",
|
||||||
|
"displayName": "Linux Release",
|
||||||
|
"description": "Target the Windows Subsystem for Linux (WSL) or a remote Linux system.",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
||||||
|
"installDir": "${sourceDir}/out/install/${presetName}",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
|
"CMAKE_TOOLCHAIN_FILE": {
|
||||||
|
"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