From 47413ede45ed9f24f253ecb945e99ea155106403 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 25 Oct 2024 08:39:50 +0200 Subject: [PATCH] Add example for linux CMakeUserPresets --- CMakeUserPresets-example.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CMakeUserPresets-example.json b/CMakeUserPresets-example.json index efb7750448..560b53e553 100644 --- a/CMakeUserPresets-example.json +++ b/CMakeUserPresets-example.json @@ -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" } } ] } \ No newline at end of file