Releases: microsoft/vscode-cmake-tools
Releases · microsoft/vscode-cmake-tools
1.11.25
1.11.25
Improvements:
- Fix build Error: EMFILE: too many open files. #2288 @FrogTheFrog
- Add commands to get preset names. PR #2433
- Add IntelliSense support for
debugConfig.console
. #2428 - Add c++23 support. #2475 @sweemer
- Add support for multiple targets in the CMake task provider. #2122
- Add setting
cmake.showSystemKits
. PR #2520 @bharatvaj - Add support for "Configure", "Install" and "Test" tasks. #2452
- Add setting
cmake.ignoreCMakeListsMissing
. PR #2537 @ilg-ul - Add support for "Clean" and "Clean Rebuild" tasks. #2555
- The extension for CMake language support is replaced. PR #2267 @josetr
Bug Fixes:
Clean All Projects
menu item builds rather than cleans. #2460- Update terminal's environment variables when the kit is changed. #2364
- Add timeouts for compiler scanning. #1289
- Fix schema validation for presets version 4. #2490
- Remove problematic environment variables from the debugger environment. #2442
- Fix preferredGenerator "Watcom WMake" not working. #2500
- When
debugConfig
has specific modes or debugger paths set, the linker check heuristic should be skipped. #2509 - Exclude environment variables from debugging if the values have newlines. #2515
- Correctly configure the build environment when using VS 2015 and Ninja in CMakePresets.json. #2516
- Select the correct VS toolset for Ninja generators with CMake Presets. #2423
- Fix unhandled exception with CMakePresets.json. #2117
- Fix issues with compiler argument quoting when configuring IntelliSense. #2563
1.10.5
1.10.4
1.10.4
Improvements:
- Don't specify number of jobs when building with Ninja. #696
- Support for the Ninja Multi-Config generator. #1423
- Minimize build progress notification to the status bar. #2308
- Allow editing Kits when presets are in use. #1965
- Launch the target in the default terminal. PR #2311 @michallukowski
- Allow launching targets in parallel. #2240 @ColinDuquesnoy
Bug Fixes:
- CMakePrests.json toolset requires the VS version instead of the toolset version. #1965
- CMakePresets should be able to specify a VC toolset by version number. #2366
- CMake task provider does not configure the VS Build environment for Ninja builds. #2258
${buildKit}
is not updated after a Kit switch. #2335- Test the existence of a property instead of the value when expanding preset conditions. #2329
- Include
hostSystemName
in variable expansion when only using User presets. #2362 - Trim whitespace from
environmentSetupScript
. #2391 - Incorrect
cmake.additionalKits
setting breaks CMake extension. #2382 - VS2010 compile errors are not shown in Problems. #2376
- Always rebuilds sources with autodetected clang and ninja on linux. #2289
- Clean Reconfigure All Projects removes wrong files after switching kit. #2326
- Update documentation. #2334 @atsju
- Ninja not able to build single-threaded. #2222
- Fix various kit detection issues. #2246 #1759 #1653 #1410 #1233 @fourdim
- Stop using
-H
to configure projects. #2292 environmentSetupScript
capitalizes environment variable names. #1592 @lygstate- Debug Target failed when
debugConfig.environment
not present. #2236 @lygstate - Presets in CMakePresets.json should not inherit from presets in CMakeUserPresets.json. #2232
- Refresh the launch terminal if the user default changes. PR #2408
- Strip BOM from files when reading. #2396
- When using the configuration provider for the C++ extension, the browse configuration was not being updated after code model changes. #2410
1.9.2
1.9.2
Bug fixes:
- Fix infinite recursion into symlinks. #2257
- Fix
Show Build Command
for folders that do not use CMake Presets. #2211 - Fix presets not shown when a common dependency is inherited more than once. #2210
- Fix IntelliSense usage of short name from variants file for buildType. #2120 @gost-serb
CMake Tools 1.9.1
Bug fixes:
- Fix presets using conditions with macros and inheritance. #2185
- Parallelism no longer working in 1.9.0 for CMake < 3.14.0. #2181
CMake: Compile Active File
command stopped working in v1.9.0. #2180- Exception after successful build when cpptools IntelliSense is disabled. #2188
- Fix issue with presets (v3) and "toolchainFile". #2179
- Don't add
-j
argument whencmake.parallelJobs
is set to1
. #1958 @mark-ulrich - Warn the user about CMAKE_BUILD_TYPE inconsistencies. #2096
CMake Tools 1.9.0
1.9.0
Improvements:
- Add support for CMakePresets version 3. #1904
- Add diagnostic support for parsing IAR compiler output. PR #2131 @willson556
- Add "Log Diagnostics" command. PR #2141
- Add build and configure commands to show cmake commands without running them. PR #1767
- Implement support for merging multiple compile_commands in super-builds sub-folders of the build directory. PR #2029 @Felix-El
- Add
cmake.allowCommentsInPresetsFile
setting to allow JS style comments in CMakePresets files. #2169
Bug fixes:
- MSVC_VERSION is incorrect when cmake configures with clang-cl. #1053 @tklajnscek
- Build error because
binaryDir
removed after configure. #2128 - Configuration from build presets ignored by Intellisense and launch (when using multi config generators). #2099
- Extra {0} output message when having preset with circular inherits. #2118
- CMake-Tools does not reconfigure after a change of CMakeLists.txt in a subdirectory of root. #1911 @AbdullahAmrSobh
- Fixes msvc2015 detection when only vs2019 are installed. #1955 @lygstate
- Allow for clang compilers to be set in presets without full path. #1922
- Compiler flags containing spaces not passed correctly to IntelliSense. #1414
- Don't scan the whole workspace for CMakeLists.txt, just a few folders. #2127
- Regression with Visual Studio generator and non-default toolset. #2147
- Debug shows "No compiler found in cache file." dialog. #2121
- Unable to work with pre-configured projects (cache is deleted). #2140
- Unknown C++ standard control flag: -std=gnu++2b. #2150
- Select the most recently used build/test preset when configure preset changes. #1927
- Re-enable build target selection when using presets. #1872
1.8.1
1.8.0
1.8.0
Improvements:
- Last selected target isn't read on start up. #1148
- Use cached cmake-file-api response to configure IntelliSense on startup. #1149
- Show a quickPick of all the CMakeLists.txt inside the project (if none exists where "cmake.sourceDirectory" points at). #533
- Add command to get the active folder of a workspace. #1715 @guestieng
- Task provider refactoring to best utilize latest updates from VSCode. PR #1880
- Add docker container definition. PR #1758
- Enhance the vsix build with package scripts in package.json. PR #1752 @lygstate
Bug fixes:
- Fix various presets field settings to be passed correctly on to CMake. #2009
- Check for target architecture when reading toolchain FileAPI. #1879
- Fix environment variable in debugging docs. PR #1874 @zariiii9003
- Fix typo in variant docs. PR #1970 @melak47
- Update schema for preset cache variable CMAKE_BUILD_TYPE. #1934
- Fix regression in ctestDefaultArgs (ctest hardcoded directives: -T, test, --output-on-failure). #1956
- Don't throw when unknown diagnostics apepar. #1796
- Add parse target triple to fix "bad clang binary" error. #1916 @lygstate
- Include CMAKE_BUILD_TYPE in the generated text of configure preset. #1847
- Show also the "hidden" presets in the "Inherit from configure presets" quick pick. #1923
- Clang-cl diagnostics don't appear in Problems view. #517 @ki-bo
- Fix duplication in name of MSVC versus LLVM Clang kit. PR #1951 @lygstate
- Fixes output encoding in the vcvars setup process. PR #1985 @lygstate
- Remove vendor support since the string expansion is wrong for it. #1966
- Add configure preset environment to debug/launch. #1884
- Fix msvc2015 detection when only vs2019 is installed. #1905 @lygstate
- Prevent file index overwritting in multi-config generators. #1800 @andredsm
- Various cache variables edit/save fixes. PR #1826 @aemseemann
- Use JSON as the language mode of preset files. #2035
- Fix broken links to contributing file. PR #2016 @andredsm
- Kit scan generates incorrect kits for VS 2022 #2054
- Fix presets for msvc compilers with x86 outputs PR #2072
CMake Tools 1.7.3
CMake Tools 1.7.2
Bug fixes:
- Fix paths of target sources outside the workspace. #1504 @sleiner
- Use stricter type checks in presets expansion. #1815
- Solve conflict between -DCMAKE_GENERAOR:STRING=Ninja versus -G "Visual Studio 16 2019" -A x64. PR #1753 @lygstate
- Fix operator precedence when getting code page. #1615 @taoyouh
- Override the locale when querying compiler versions. #1821
- Fix typo in CMakePresets.json schema. PR #1809 @bluec0re