Skip to content

Releases: microsoft/vscode-cmake-tools

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

1.12.27

12 Sep 18:54
Compare
Choose a tag to compare

1.12.27

Bug Fixes:

  • Add default target to the build task when target is not defined. #2729

1.12.26

31 Aug 21:29
2caa54a
Compare
Choose a tag to compare

1.12.26

Improvements:

  • Support for presets version 4. #2492 @chausner
  • Triggering reconfigure after changes are made to included files. #2526 @chausner
  • Add target name to terminal window name for launch. #2613
  • Add support for "preset" and "env" in task provider. #2636 #2553 #2714 #2706
  • Add Craig Scott's "Professional CMake" book to the list of resources in doc/faq.md for learning CMake. #2679 @david-fong

Bug Fixes:

  • CMakeUserPresets.json version not detected without CMakePresets.json. #2469 @chausner
  • Do not prompt to select a Kit if "cmake.configureOnOpen" is "false". #2538
  • Don't delete CMakeCache.txt when switching kits if the buildDirectory also changes. #2546 @david-fong
  • Set the working directory for the file api driver. #2569
  • Add "description" properties to the cmake.revealLog setting. #2578
  • Detect clang-cl.exe compilers that are not bundled with Visual Studio. #2622
  • Clear output channel after auto-reconfigure. #2628
  • Fix issues with launching the target in PowerShell terminal. #2650 #2621 #535
  • Respect VS Code setting "insertSpaces" when updating preset files via GUI. #2677
  • CMake install task does not run in terminal. #2693
  • Deprecation warnings show up as errors in Problems view. #2708

1.11.26

14 Jun 19:10
9830fb0
Compare
Choose a tag to compare

1.11.26

Updates:

  • Revert back to the previous CMake language server extension dependency.

bug fix:

  • Ninja is used as a default generator. #2598