Skip to content

Releases: microsoft/vscode-cmake-tools

1.14.32

05 Jun 17:57
7aa4eab
Compare
Choose a tag to compare

1.14.32

Features:

  • Add a new UI to show the project status in the side bar. This feature appears and replaces the status bar when Cmake: Use Project Status View is toggled true. This will be used for A/B testing the views. PR #3167

Improvements:

  • Added ability to select either C or C++ with the Quick Start command. #3183

Bug Fixes:

  • Handle multiple test results in one test run. #3160
  • When starting test and test preset is not selected, prompt for test preset selection. #3163

1.14.31

02 May 19:54
1e1908d
Compare
Choose a tag to compare

1.14.31

Bug Fixes:

  • When cmake.buildTasks is true, CMake tasks in tasks.json that do not specify targets will no longer cause the build to fail. #3123
  • Paths containing mingw are no longer removed from the PATH environment variable when configuring a project without specifying a kit. #3136
  • Warning messages are no longer triggered by targets containing "warning" in the file path when running Tasks: Run Build Task. #3118
  • Unable to resolve cmake-tools-schema:/schemas/CMakePresets*.json. #2587 #3108

1.14.30

20 Apr 23:45
73abb3c
Compare
Choose a tag to compare

1.14.30

Bug Fixes:

  • Fix extension crashes in the test explorer when cmake.sourceDir is a subfolder of ${workspaceFolder}. #3121

1.14.29

20 Apr 18:22
579d0d3
Compare
Choose a tag to compare

1.14.29

Features:

  • Test Explorer. PR #3032
  • Add commands revealTestExplorer, refreshTests, and refreshTestsAll. PR #3032

Breaking changes:

  • The Run CTest button in the status bar now only reveals the test explorer, and test results are removed from its text. PR #3032
  • All test starting method, such as command CMake: Run Tests and test task, now runs through the test explorer. Tests can't run in parallel for now. PR #3032
  • Catch test framework support is removed. PR #3043
  • Rename cmake.mingwSearchDirs to cmake.additionalCompilerSearchDirs, make it more general and fix quirks with it. PR #3056 @philippewarren

Improvements:

  • Automatically configure CMake project directories when the kit or the configuration preset is changed. PR #2973 @maxmitti
  • Add an optional description field to kits. PR #2944 @TisziV
  • Update documents on cmake.mingwSearchDirs. #2996
  • When starting debugging, also build the selected build target. PR #2987 @Maddimax
  • Add support for CMake Presets V5. #2979
  • Print the build time in the output window. #3008
  • Allow using all of MSYS2 MinGW installations, which are also now found by default while scanning for kits if MSYS2 is installed at the default location (C:\msys64\{wingw64|mingw32|clang64|clang32|clangarm64|ucrt64}\bin). PR #3056 @philippewarren

Bug Fixes:

  • Check if "CMakeLists.txt" exists after renaming. #2986
  • CMake kits fails when parsing exported functions after running environmentSetupScript. #2676
  • Implement cmake.parseBuildDiagnostics. #1932
  • CMake tools not fully loaded when opening multi-project folders. #3000
  • Save the state of multiple projects in the same folder. PR #3051
  • Expand variables in task's targets while searching matching taks. #2970 @piomis
  • Fix typo in cmake.skipConfigureWhenCachePresent. #3040 @Mlekow
  • Fix MinGW detection when not in PATH using cmake.mingwSearchDirs (now named cmake.additionalCompilerSearchDirs). PR #3056 @philippewarren
  • Fix check for EACCES error code #3097

1.13.45

02 Feb 14:25
dc0bd4b
Compare
Choose a tag to compare

1.13.45

Bug Fixes:

  • Remove unwanted warning "Configuration is already in progress" in multi-root projects. #2989
  • setKitByName command ignores the workspace folder argument. PR #2991

1.13.44

31 Jan 16:03
013a2ee
Compare
Choose a tag to compare

1.13.44

Bug Fixes:

  • Compatibility between test and build presets was not enforced. #2904
  • Fix problems with updating the code model. #2980
  • Validate presets in initialization. #2976

1.13.43

27 Jan 00:30
8542658
Compare
Choose a tag to compare

1.13.43

Bug Fixes:

  • Fix an issue causing the Add Presets commands not to appear. PR #2977

1.13.42

26 Jan 00:51
Compare
Choose a tag to compare

1.13.42

Bug Fixes:

  • Fix failed activation when using the cmake.allowUnsupportedPresetsVersions setting. #2968
  • Verify binary directories only if there are multiple sources. #2963
  • Update quote function to fix path separator regression #2974

1.13.41

24 Jan 00:53
Compare
Choose a tag to compare

1.13.41

Bug Fixes:

  • Fix "No folder is open" error when running quick start. #2951
  • cmake.debugConfig args console redirection broken. #2955
  • CMake Tools fails to initialize the Active Project. #2952

1.13.40

19 Jan 17:16
f789c0b
Compare
Choose a tag to compare

1.13.40

Improvements:

  • Support multiple projects in a single workspace folder. cmake.sourceDirectory setting now allows setting multiple paths. #1374
  • Add a setting to disable reading compile_commands.json. #2586 @xiaoyun94
  • Preset in CMakeUserPresets.json using "condition" does not appear in configure preset selection. #2749
  • Resolve workspace variables in cmake-kits.json. #2737
  • Use upper case drive letters on Windows for cmake.sourceDirectory. PR #2665 @Danielmelody
  • Custom browse configuration should not include (redundant) per-file arguments. #2645
  • Support optional generator in configurePresets for version 3 and higher. #2734 @jochil
  • Add a public API for extension authors that depend on CMake Tools. #494
  • Support explicit typing in cmake.configureSettings. #1457
  • Scan for kits will now add ARM64 hosts for MSVC. PR #2887 @scaryrawr
  • Support canceling configuration #2436 @Danielmelody
  • Pop up "Choose CMakeLists.txt" when user goes to configure while feature set is partially activated. #2746
  • Adhere to the setting entry "Parallel Jobs" (cmake.parallelJobs) when generating the default build preset. #2765 @maxmitti
  • Add a setting to ignore unknown presets features from the versions that CMake Tools doesn't support yet. #1963

Bug Fixes:

  • Fix warning message that appears when using a default build preset with a multi-config generator. #2353
  • Update kits documentation. #2761 @jdeaton
  • Avoid calling build tasks for "Clean", "Install" and "Run Tests" commands when "cmake: buildTask" setting is true. #2768
  • Generate the correct configurePresets for Clang or GCC compilers on Windows. #2733
  • CMake Tools does not send --target= to cpptools. #1896 #2800
  • Fix the build task to return the error code. #2799 @BIKA-C
  • Generate correct ClangCL Kits. #2790 #2810
  • Cache the version check for the cmake executable. #2818
  • ctest -N does not work with custom cmake path from preset. #2842
  • Resolve variables in args before passing them to the terminal. #2846
  • Quote launch arguments sent to the terminal if they have special characters. #2898
  • CMake Tools should choose cmake.exe from the newest VS when it's not found in the PATH. #2753
  • Calling build targets from CMake Project Outline always builds default target if useTasks option is set. #2778 @piomis
  • Fix ${command:cmake.buildType} so that it returns the right value when using CMake Presets. #2894
  • Fix a problem with multi-root projects not activating the configuration provider. #2915
  • Remove the default path for cmake.mingwSearchDirs since the path is world-writable. PR #2942
  • Build command is not able to properly pick-up tasks from tasks.json file if configured with isDefault option and cancellation of running build task is not working. #2935 @piomis