1.13.40
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