Add example for linux CMakeUserPresets

This commit is contained in:
Magne Sjaastad 2024-10-25 08:39:50 +02:00
parent 1f2b180ab7
commit 47413ede45

View File

@ -40,6 +40,29 @@
"description": "Target Windows (64-bit) with the Visual Studio development environment. (Release)",
"inherits": "windows-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "linux-base",
"hidden": false,
"displayName": "Linux Base",
"inherits": "ninja",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-linux-release",
"RESINSIGHT_ENABLE_UNITY_BUILD": true,
"RESINSIGHT_ENABLE_GRPC": false,
"CMAKE_PREFIX_PATH": "/home/builder/qt/6.6.3/gcc_64/lib/cmake"
}
},
{
"name": "x64-release",
"displayName": "x64 Release",
"description": "Linux Release",
"inherits": "linux-base",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
}
]
}