Browse Source

Set CMake build type to Release when using kit

Guðni Már Gilbert 2 years ago
parent
commit
d73f1fa28d
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"
         }
     }
 ]