Browse Source

Merge pull request #3660 from gudnimg/cmake-build-type

Set CMake build type to Release when using kit
Guðni Már Gilbert 2 years ago
parent
commit
effd5aa5f9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .vscode/cmake-kits.json

+ 2 - 1
.vscode/cmake-kits.json

@@ -3,7 +3,8 @@
         "name": "Local_avr-gcc-none-eabi",
         "toolchainFile": "${workspaceFolder}/cmake/LocalAvrGcc.cmake",
         "cmakeSettings": {
-            "CMAKE_MAKE_PROGRAM": "${workspaceFolder}/.dependencies/ninja-1.10.2/ninja"
+            "CMAKE_MAKE_PROGRAM": "${workspaceFolder}/.dependencies/ninja-1.10.2/ninja",
+            "CMAKE_BUILD_TYPE": "Release"
         }
     }
 ]