From 7c2bcb36a3f60617563120bbd2991982b2530e8e Mon Sep 17 00:00:00 2001 From: cor3ntin Date: Mon, 20 Sep 2021 19:11:19 +0200 Subject: [PATCH] Fix cmake presets on windows --- CMakePresets.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CMakePresets.json b/CMakePresets.json index c2f370b..c0521a8 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -27,6 +27,10 @@ "value": "x64", "strategy": "external" }, + "toolset": { + "value": "host=x64", + "strategy": "external" + }, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_CXX_COMPILER": "cl" @@ -131,6 +135,14 @@ "outputOnFailure": true } }, + { + "name": "windows-tests", + "description": "Run tests on windows", + "configurePreset": "x64-window", + "inherits": [ + "core-tests" + ] + }, { "name": "linux-test-gcc", "description": "Run tests on linux (GCC)",