mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 21,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "windows-clangcl",
|
|
"displayName": "Windows clang-cl",
|
|
"description": "Build the Windows client with the MSVC ABI",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/windows-clangcl",
|
|
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreadedDLL",
|
|
"ENABLE_AUDIO": true,
|
|
"ENABLE_EGL": true,
|
|
"ENABLE_NETWORK": true,
|
|
"ENABLE_WASAPI": true,
|
|
"OPTIMIZE_FOR_NATIVE": "OFF",
|
|
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "${sourceDir}/cmake/toolchains/windows-clangcl.cmake",
|
|
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/cmake/vcpkg-triplets",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-lg"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "windows-clangcl-release",
|
|
"displayName": "Windows clang-cl RelWithDebInfo",
|
|
"configurePreset": "windows-clangcl"
|
|
}
|
|
]
|
|
}
|