summary refs log tree commit diff
path: root/CMakeSettings.json
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-12-25 04:11:24 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-12-25 04:11:24 +0100
commitbe9df45af90d68b1c1a15df3d0b34818bba3dbde (patch)
tree3c9cd399df8c671a6d753ab683b29cb4f96fc33a /CMakeSettings.json
parentFix some compiler warnings (diff)
downloadnheko-be9df45af90d68b1c1a15df3d0b34818bba3dbde.tar.xz
Use vs2019 for CI
Diffstat (limited to 'CMakeSettings.json')
-rw-r--r--CMakeSettings.json112
1 files changed, 66 insertions, 46 deletions
diff --git a/CMakeSettings.json b/CMakeSettings.json
index cd32e378..310be648 100644
--- a/CMakeSettings.json
+++ b/CMakeSettings.json
@@ -1,46 +1,66 @@
-{
-  "configurations": [
-    {
-      "name": "Debug",
-      "generator": "Visual Studio 15 2017 Win64",
-      "configurationType": "Debug",
-      "buildRoot": "${workspaceRoot}\\build-vc\\${name}",
-      "cmakeCommandArgs": "",
-      "variables": [
-        {
-          "name": "CMAKE_TOOLCHAIN_FILE",
-          "value": "${workspaceRoot}\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" // <-- change vcpkg location here
-        },
-        {
-          "name": "CMAKE_INSTALL_PREFIX",
-          "value": "${workspaceRoot}/.deps"
-        },
-        {
-          "name": "Qt5_DIR",
-          "value": "C:\\Qt\\5.11.1\\msvc2017_64\\lib\\cmake\\Qt5" // <-- change qt location here
-        }
-      ]
-    },
-    {
-      "name": "Release",
-      "generator": "Visual Studio 15 2017 Win64",
-      "configurationType": "Release",
-      "buildRoot": "${workspaceRoot}\\build-vc\\${name}",
-      "cmakeCommandArgs": "",
-      "variables": [
-        {
-          "name": "CMAKE_TOOLCHAIN_FILE",
-          "value": "${workspaceRoot}\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" // <-- change vcpkg location here
-        },
-        {
-          "name": "CMAKE_INSTALL_PREFIX",
-          "value": "${workspaceRoot}/.deps"
-        },
-        {
-          "name": "Qt5_DIR",
-          "value": "C:\\Qt\\5.11.1\\msvc2017_64\\lib\\cmake\\Qt5" // <-- change qt location here
-        }
-      ]
-    },
- ]
-}
+{

+  "configurations": [

+    {

+      "name": "Debug",

+      "generator": "Visual Studio 16 2019 Win64",

+      "configurationType": "Debug",

+      "buildRoot": "${workspaceRoot}\\build-vc\\${name}",

+      "cmakeCommandArgs": "",

+      "variables": [

+        {

+          "name": "HUNTER_ENABLED",

+          "value": "OFF",

+          "type": "BOOL"

+        },

+        {

+          "name": "BUILD_SHARED_LIBS",

+          "value": "ON",

+          "type": "BOOL"

+        },

+        {

+          "name": "CMAKE_INSTALL_PREFIX",

+          "value": "${workspaceRoot}/.deps",

+          "type": "STRING"

+        },

+        {

+          "name": "Qt5_DIR",

+          "value": "C:\\Qt\\5.12.5\\msvc2017_64\\lib\\cmake\\Qt5", // <-- change qt location here

+          "type": "STRING"

+        }

+      ],

+      "cmakeToolchain": "${workspaceRoot}\\toolchain.cmake",

+      "inheritEnvironments": [ "msvc_x64" ]

+    },

+    {

+      "name": "Release",

+      "generator": "Visual Studio 16 2019 Win64",

+      "configurationType": "Release",

+      "buildRoot": "${workspaceRoot}\\build-vc\\${name}",

+      "cmakeCommandArgs": "",

+      "variables": [

+        {

+          "name": "HUNTER_ENABLED",

+          "value": "ON",

+          "type": "BOOL"

+        },

+        {

+          "name": "BUILD_SHARED_LIBS",

+          "value": "OFF",

+          "type": "BOOL"

+        },

+        {

+          "name": "CMAKE_INSTALL_PREFIX",

+          "value": "${workspaceRoot}/.deps",

+          "type": "STRING"

+        },

+        {

+          "name": "Qt5_DIR",

+          "value": "C:\\Qt\\5.12.5\\msvc2017_64\\lib\\cmake\\Qt5", // <-- change qt location here

+          "type": "STRING"

+        }

+      ],

+      "cmakeToolchain": "${workspaceRoot}\\toolchain.cmake",

+      "inheritEnvironments": [ "msvc_x64" ]

+    }

+  ]

+}
\ No newline at end of file