Skip to content
Snippets Groups Projects
CMakeSettings.json 1.8 KiB
Newer Older
  • Learn to ignore specific revisions
  • Nicolas Werner's avatar
    Nicolas Werner committed
    {
      "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" ]
        }
      ]
    }