From 7a32e41d4738fb21b915d19c4eda76f8fb5825c5 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sat, 28 May 2022 14:32:54 +0300 Subject: [PATCH] Correct linux preset (#748) * presets: add correct linux presets * CMakePresets: added MSVC Release preset --- CMakePresets.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 32dc22569..8118819a9 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -15,11 +15,19 @@ "ENABLE_TEST": "0" } }, + { + "name" : "linux-release", + "inherits" : "default-release", + "hidden": true, + "cacheVariables": { + "CMAKE_INSTALL_PREFIX" : "/usr/local" + } + }, { "name": "linux-clang-release", "displayName": "Clang x86_64-pc-linux-gnu", "description": "VCMI Linux Clang", - "inherits": "default-release", + "inherits": "linux-release", "cacheVariables": { "CMAKE_C_COMPILER": "/usr/bin/clang", "CMAKE_CXX_COMPILER": "/usr/bin/clang++" @@ -29,7 +37,7 @@ "name": "linux-gcc-release", "displayName": "GCC x86_64-pc-linux-gnu", "description": "VCMI Linux GCC", - "inherits": "default-release", + "inherits": "linux-release", "cacheVariables": { "CMAKE_C_COMPILER": "/usr/bin/gcc", "CMAKE_CXX_COMPILER": "/usr/bin/g++" @@ -94,6 +102,12 @@ { "name": "windows-msvc-release", "configurePreset": "windows-msvc-release", + "inherits": "default-release", + "configuration": "Release" + }, + { + "name": "windows-msvc-relwithdebinfo", + "configurePreset": "windows-msvc-release", "inherits": "default-release" } ],