Skip to content

Releases: microsoft/vscode-cmake-tools

1.19.52

30 Sep 10:52
21fa776
Compare
Choose a tag to compare

1.19.52

Improvements:

  • Update signing to support VSCode extension signing. #4055

1.19.51

05 Sep 21:40
406216a
Compare
Choose a tag to compare

1.19.51

1.19.50

03 Sep 22:29
f35be38
Compare
Choose a tag to compare

1.19.50

Bug Fixes:

  • Fix env expansion of all variables (toolchainFile, etc.) in presets. #4019
  • Fix issues with inheritance and presets. #4023

1.19.49

29 Aug 19:55
f1a3770
Compare
Choose a tag to compare

1.19.49

Features:

  • Add setting cmake.useVsDeveloperEnvironment to allow for more user control on when the Visual Studio Developer Enviornment is attempted to be added to the CMake Presets environment. #3892

Improvements:

  • Add Unspecified option for selecting a kit variant to allow CMake itself to select the build type. #3821
  • Skip loading variants when using CMakePresets. #3300
  • Resolve diagnostics files relative to workspace and build directory, fixes #1401 @fargies
  • Add setting to only show the cmake log on target failure. #3785 @stepeos
  • Preset expansion occurs on CMakePresets.json or CMakeUserPresets.json save, and if there are no errors the expanded presets are cached. The VS Developer Environment will only be applied to a preset if it is selected. Expansion errors will show in the problems panel and preset files with errors will be invalid, and any presets they contain cannot be used. #3905
  • Remove pop-ups asking to configure, default cmake.configureOnOpen to true. #3967

Bug Fixes:

  • Attempt to fix stringifying the extension context. #3797
  • Fix issue where cmake.preferredGenerators wasn't falling back to the next entry when the first entry didn't exist. #2709
  • Potential fix for attempting to load a non-variants file as a variants file and throwing a parse exception. #3727
  • Fix issue where cmakeUserPresets.json not showing up in project outline. #3832
  • Fix edge case where parsing tests fails when additional output is printed before tests json. #3750
  • Fix issue where Configure with CMake Debugger fails on restart because the previously used pipe to CMake Debugger is no longer available. #3582
  • Fix custom kit PATH being overriden. #3849
  • Fix debug variables being overriden. #3806
  • Fix issue in Quick Start where a C file was generated in place of a C++ file. #3856
  • Fix custom build tasks not showing up. #3622
  • Fix the bug where if a relative path specified for installDir, it is not calculated relative to the source directory, which is how it should be according to the CMake installDir docs here. #3871
  • Fix issue with CMakeLists.txt depth search. #3901
  • Fix localized file path for schema files. #3872
  • Disable annoy and invalid extenion message about fix windows sdk for MSVC 2022. #3837
  • Fix re-using a terminal for launching even when the environment has changed. #3478
  • Fix our keybindings for debug and run without debugging to better match VS Code. #3507
  • Allow success recovery in the configure precondition handler. #3554
  • Prevent second configure after QuickStart if the automaticReconfigure setting is enabled. #3910
  • Set usepresets context after manually creating a CMakePresets.json/CMakeUserPresets.json or using QuickStart to create it. #3854
  • Only do special handling of ~ for code model reply path on linux. #3957
  • Fix issues with expanding unnecessary environment variables and incorrectly saving preset environments to cache. Also fixes expansion error reporting issue with not checking for an invalid Configure preset in other types of presets. #3961 & #1841

1.18.43

10 Jul 19:27
573f7cc
Compare
Choose a tag to compare

1.18.43

Features:

  • Upgrade cmake_minimum_required version 3.0.0 -> 3.5.0. #3793

Improvements:

  • Add setting for deleting entire build dir when clean configuring. #3515

Bug Fixes:

  • Fix issue "Logs are unavailable when running tests from the Test Explorer" and display properly the test output. #3140
  • Fix issue with "Test Results Not Found" when cmake.ctest.allowParallelJobs is disabled. #3798
  • Update localized strings for Project Status UI and quick pick dropdowns. #3803, #3802
  • Fix issue where new presets couldn't inherit from presets in CmakeUserPresets.json. These presets are now added to CmakeUserPresets.json instead of CmakePresets.json. #3725
  • Fix issue where CMakeTools does not recheck CMake Path to see if user installed CMake after launching VS Code. 3811
  • Fix issue where cmake.buildToolArgs was sometimes applied incorrectly when presets are used #3754
  • Fix issue where preferredGenerator.platform and preferredGenerator.toolset wasn't being compared between the old and new kit to trigger a clean configure on a kit selection change. #2699
  • Still allow for users to add --warn-unused-cli. Now instead of overriding, it will remove our default --no-warn-unused-cli. #1090
  • Ensure useCMakePresets context is set after making a CMakePreset.json with Quick Start. #3734

1.18.42

10 Jun 17:57
Compare
Choose a tag to compare

1.18.42

Bug Fixes:

  • Fix schema validation for $schema. #3809
  • Fix tests having too long of a command-line. #3814

1.18.41

30 May 17:28
4d6d05d
Compare
Choose a tag to compare

1.18

Features:

  • Add the possibility to open the current build directory in the Explorer #1451
  • Add support for CMakePresets V7 and V8. #3549
  • Update api.ts to add the onSelectedConfigurationChanged event. #3671 @OrkunTokdemir
  • Improve CMake QuickStart by allowing the user to dynamically create a CMakePresets.json file. #3649

Improvements:

  • Allow ctests to run in parallel when launched through the Test Explorer. #3122
  • Properly set up environment for MSYS toolchains. #2447 @Steelskin
  • Allow for users to add --warn-unused-cli. This will override our default --no-warn-unused-cli. #1090
  • Add option to disable kit scan by default when a kit isn't selected. #1461
  • Show cmake output when version probe fails. #3650
  • Improve various settings scopes #3601
  • Refactor the Project Outline view to show a flat list of targets #491, #3684
  • Add the ability to pin CMake Commands to the sidebar #2984 & #3296
  • Add support for variable expansion in debugConfig.environment #3711
  • Add the ability to debug install targets #532
  • Add a "Don't Show Again" option in the select CMakeLists.txt.
  • Log error statement if the environmentSetupScript fails. #3566
  • [Experiment] Improve CMake Tools experience when opening a folder #3588

Bug Fixes:

  • Fix localization issue in package.json. #3616
  • Remove incorrect validation which was breaking references from CMakeUserPresets to CMakePresets. #3636
  • Fix 'Debug Test' from 'Test explorer' results in 'launch: property 'program' is missing or empty'. #3280
  • Fix "Go to source" in Testing activity + test panel without function. #3362
  • Remove an un-implemented "internal" command. #3596
  • Fix incorrect test output. #3591
  • Fix issue where our searching for cl and ninja was repeatedly unnecessarily, impacting performance. #3633
  • Fix preset environment issue. #3657
  • Fix invocation of vcvarsall.bat script argument for targetArch. #3672
  • Ensure that we support ${workspaceFolder} when initializing cmake information. #3658
  • Fix issue where correcting cmake.cmakePath is still broken. #3570
  • Fix CMakePresets.json schema validation. #3651
  • Update what we use to create the workspace browse configuration to pass to cpp tools by filtering out extra file groups that are generated. #3729
  • Fix issue where cmake.cacheInit isn't supporting absolute path in environment variables. #2777

1.17.17

28 Feb 15:12
02c548e
Compare
Choose a tag to compare

1.17.17

Bug Fixes:

  • Fix the regression for inheritance of cache variables and other inheritable fields. #3603

1.17.16

20 Feb 19:58
810cd00
Compare
Choose a tag to compare

1.17.16

Bug Fixes:

  • Fix an issue where we weren't able to run tests when not using Presets. #3589
  • Fix the order of preference for CMake Presets inherit field. #3594

1.17.15

13 Feb 19:30
033a834
Compare
Choose a tag to compare

1.17

Features:

  • Update api.ts to add the getActiveFolderPath method. #3528 @Kemaweyan
  • Add a setting that allows users to enable/disable the Test Explorer integration. #3145
  • Add support for CMake Presets V6 (package presets to run CPack and workflow presets). #2871
  • Add support for pinning CMake commands to the side bar. #3296

Improvements:

  • Improve when the "Configure with Debugger" popup appears and allow for "Do Not Show Again". #3343
  • Add option to disable "Not all open documents were saved" popup. #2889
  • Allow overriding of CMakePresets cache variables and arguments. #1836
  • Improve advanced status bar options configuration by adding an inherit option to the statusBarVisibility setting and by adding the inheritDefault setting. Look at the CMake Options Visibility Configuration docs for more information. #3452

Bug Fixes:

  • Fixed an issue where changing an empty value to a non-empty value using the Cache Editor UI didn't work. PR #3508
  • Fix CMakePresets inheritance for the condition field. PR #3494
  • Ensure that the output is cleared for debugTarget and launchTarget. #3489
  • Fix the inheritance of the environment for CMakePresets. #3473
  • Removed an unnecessary console.assert #3474
  • Avoid running tests after a build failure #3366
  • Make sure we clear the output on builds due to test when Clear output before build is enabled. #1179
  • Ensure that, when switching between presets, the CMake executable is modified. #2791
  • Fixed the key to reference the correct description for the compact option of the cmake.options.advanced.variant.statusBarVisibility setting. #3511
  • Fixed the parsing of C and CXX compiler cache variables when adding a new configure preset from existing compilers. #2773
  • Avoid the pitfalls of using RegExp.exec() in loops, replacing their usage with string.matchAll(). This change is applied to the expand.ts file which deals with expansion of variables in user provided strings. It may address the failures described in issue. #3469
  • Fixed compile_commands.json file corruption with copyCompileCommands when value is equal to default path. #3214 @parniere
  • Fixed status bar visibility options' inherit option default. PR #3579