Skip to content

Releases: microsoft/vscode-cmake-tools

CMake Tools 1.4.1

18 Jun 19:55
54e487d
Compare
Choose a tag to compare

This release contains the following bug fixes:

  • VS environment not set correctly. #1243
  • VS kits don't set host/target arch properly for toolsets. #1256
  • Disable launchTarget key binding while debugging. #1170
  • System headers not found. #1257
  • Add setting to enable/disable automatic reconfiguring of projects. #1259
  • Partial/full CMT activation improperly persisted for multi-root projects. #1269
  • Fix MacOS debugging to work out of the box. #1284
  • Ensure the silent kits scanning is run once for multi-root. #1302

CMake Tools 1.4.0

20 May 21:13
eb30c49
Compare
Choose a tag to compare

This is the #1.4.0 release of CMake Tools VSCode extension, which contains the following bug fixes and improvements.

Improvements:

  • Documentation updates. PR #1130 @zalava
  • Add support for per-folder browse path. #1073
  • Use a shell script to set environment variables for a kit. #809 @pisker
  • Improvements of the status bar UI. PR #1200 @SchweizS
  • Add context menu for CMakeLists. #741 @SchweizS
  • Support partial CMake Tools activation for non cmake repos. #1167
  • Support ARM IntelliSense modes. #1155
  • Support GNU language standards. #1208
  • Add indication of active workspace to project outline. #1183 @SchweizS

Bug Fixes:

  • Skip over debugger guessing logic if cmake.debugConfig explicitly sets miDebuggerPath. #1060
  • Normalize all paths sent to CppTools. #1099
  • Add support for Objective-C and Objective-C++. #1108 @marksisson
  • Update the configuration provider id. #1045 @ChristianS99
  • Clear the terminal for Compile Active File. #1122
  • Update vswhere to a version that supports utf-8. #1104
  • Support source files outside the base path. #1140
  • Allow quotes in cache entries. #1124 @tmaslach
  • Fix default preferred generators detection logic. #1084
  • Fix host and target platform information for VS kits. #964
  • Fix error caused by duplicate project structure. #587 @SchweizS
  • Disable launchTarget key binding while debugging. #1170
  • Skip configuring when cache is present and according setting is on. #984
  • Remove deprecated cmake.useCMakeServer setting. #1059
  • Trigger automatic CMake configure on CMakeLists.txt save. #1187 @Yuri6037
  • Silently scanning for kits:
    • when there is no available kits json file. PR #1192
    • when the extension introduces breaking changes in the kits definition. #1195
  • Various unhandled exceptions and crash fixes:
    • "cannot read property 'length' of undefined" when CMake not found in path. #1110
    • "cannot read property 'uri' of undefined" called by cmake.buildDirectory command. #1150
    • high hitting crash in telemetry. PR #1154

CMake Tools 1.4.0-beta

15 May 18:28
70cca74
Compare
Choose a tag to compare
Pre-release

This is a beta release for CMake Tools #1.4.0, containing several bug fixes and improvements (see full list below).
To install it, you can download the attached vsix and pass it to the VSCode command "Extensions: Run from VSIX...".
Thank you for trying out this pre-release and giving us feedback.

Improvements:

  • Documentation updates. PR #1130 @zalava
  • Add support for per-folder browse path. #1073
  • Use a shell script to set environment variables for a kit. #809 @pisker
  • Improvements of the status bar UI. PR #1200 @SchweizS
  • Add context menu for CMakeLists. #741 @SchweizS
  • Support partial CMake Tools activation for non cmake repos. #1167
  • Support ARM IntelliSense modes. #1155
  • Support GNU language standards. #1208
  • Add indication of active workspace to project outline. #1183 @SchweizS

Bug Fixes:

  • Skip over debugger guessing logic if cmake.debugConfig explicitly sets miDebuggerPath. #1060
  • Normalize all paths sent to CppTools. #1099
  • Add support for Objective-C and Objective-C++. #1108 @marksisson
  • Update the configuration provider id. #1045 @ChristianS99
  • Clear the terminal for Compile Active File. #1122
  • Update vswhere to a version that supports utf-8. #1104
  • Support source files outside the base path. #1140
  • Allow quotes in cache entries. #1124 @tmaslach
  • Fix default preferred generators detection logic. #1084
  • Fix host and target platform information for VS kits. #964
  • Fix error caused by duplicate project structure. #587 @SchweizS
  • Disable launchTarget key binding while debugging. #1170
  • Skip configuring when cache is present and according setting is on. #984
  • Remove deprecated cmake.useCMakeServer setting. #1059
  • Trigger automatic CMake configure on CMakeLists.txt save. #1187 @Yuri6037
  • Silently scanning for kits:
    • when there is no available kits json file. PR #1192
    • when the extension introduces breaking changes in the kits definition. #1195
  • Various unhandled exceptions and crash fixes:
    • "cannot read property 'length' of undefined" when CMake not found in path. #1110
    • "cannot read property 'uri' of undefined" called by cmake.buildDirectory command. #1150
    • high hitting crash in telemetry. PR #1154

1.3.1

25 Feb 00:28
1efb87b
Compare
Choose a tag to compare

This minor update addresses a few regressions from 1.3.0.

Improvements:

  • Show "Collapse all" command on project outline view. #839 @dirondin

Bug Fixes:

  • Toolset and platform are swapped when reading from CMake cache. #1065
  • Unable to debug targets when path is specified as absolute by the cmake-file-api. #1067 @KoeMai

1.3.0

07 Feb 20:12
dc6c6b2
Compare
Choose a tag to compare

Improvements:

  • Multi-root support. You can now open multiple folders in VS Code and CMake Tools will allow you to configure each of the projects in those folders.
  • Add support for ${command:cmake.buildKit}. #334 @xgdgsc
  • Add LLVM_ROOT and Visual Studio Clang locations to the search path for Kits. #914 @Zingam
  • Support additional intelliSenseModes in the configuration provider. #960
  • Detect bundled CMake in Visual Studio. #610 @Zingam
  • Add "Scan for kits" option in kits QuickPick. #864 @Zingam
  • Implement the CMake File API. PR #720 @KoeMai

Bug Fixes:

  • Support temp folders not located on system drive. PR #974 @Carsten87
  • Add MinGW path to the environment. PR #983
  • Don't do a clean build for utility targets. #643 @rcxdude
  • Visual Studio builds should support cmake.parallelJobs setting. PR #975 @tonka3000
  • Fix build cancellation. #946 #781 #522 @KoeMai
  • Normalize both absolute and relative paths. PR #963 @GeorchW
  • Filter out duplicate targets from the target selector. #863
  • Fix a crash when chcp is not found on the machine. #977
  • Don't fail if CMakeLists.txt was appended to sourceDirectory. #1014
  • Mark all tests as 'not run' in case of build failure when running CTest. PR #980 @Morozov-5F
  • Add command to hide launch/debug commands and debug button. PR #1035
  • Add support for ${workspaceFolderBasename}. #869
  • Fix exception thrown by debug/launch commands. #1036

1.3.0 Beta2 (CMake File API support, various improvements and bug fixes)

03 Feb 19:53
57480af
Compare
Choose a tag to compare

Improvements:

Bug Fixes:

  • Don't fail if CMakeLists.txt was appended to sourceDirectory. #1014
  • Mark all tests as 'not run' in case of build failure when running CTest. PR #980 @Morozov-5F

To install CMake Tools Beta2:

  • Download the cmake-tools.vsix file attached here
  • Run the "Extensions: Install from VSIX..." command in VS Code and select the .vsix file you downloaded

1.3.0-beta (multi-root workspace support)

24 Jan 00:14
4006a88
Compare
Choose a tag to compare

This pre-release version of the extension provides first class support for multi-root workspaces. We'd like to get your feedback on it.

There are new commands that let you operate on multiple folders at once and a new status bar item that tells you which folder is currently active (for the single-root commands) when you are navigating through your files. By default, the extension will auto select the active folder based on the file you are editing. If you dislike this behavior, you can disable it with the cmake.autoSelectActiveFolder setting. When this setting is disabled, you can click on the new status bar item or use the CMake: Select Active Folder command to select the active folder.

To install it:

  • Download the cmake-tools.vsix file attached here
  • Run the "Extensions: Install from VSIX..." command in VS Code and select the .vsix file you downloaded

1.3.0-beta

Improvements:

  • Multi-root support. You can now open multiple folders in VS Code and CMake Tools will allow you to configure each of the projects in those folders.
  • Add support for ${command:cmake.buildKit}. #334 @xgdgsc
  • Add LLVM_ROOT and Visual Studio Clang locations to the search path for Kits. #914 @Zingam
  • Support additional intelliSenseModes in the configuration provider. #960

Bug Fixes:

  • Support temp folders not located on system drive. PR #974 @Carsten87
  • Add MinGW path to the environment. PR #983
  • Don't do a clean build for utility targets. #643 @rcxdude
  • Visual Studio builds should support cmake.parallelJobs setting. PR #975 @tonka3000
  • Fix build cancellation. #946 #781 #522 @KoeMai
  • Normalize both absolute and relative paths. PR #963 @GeorchW
  • Filter out duplicate targets from the target selector. #863
  • Fix a crash when chcp is not found on the machine. #977

1.2.3

03 Dec 20:28
de7672c
Compare
Choose a tag to compare

Bug fixes:

  • CTest status bar button text appears malformed. #911
  • Cleanup fix for message "Platform undefined / toolset {}". #913
  • Fix incorrect file associations when language is unset. #926

1.2.2

13 Nov 18:30
45fa57f
Compare
Choose a tag to compare

Bug Fixes:

  • Fix broken SchemaProvider. #874
  • Fix the RegExp for finding a debugger. #884
  • Update flow for missing CMakeLists.txt. #533
  • getVSInstallForKit should be a no-op on systems other than windows. #886
  • Include missing source directories in the custom browse path. #882
  • Handle exceptions thrown by spawn. #895
  • Various generator fixes: #900, #880, #885

1.2.1

07 Nov 17:54
521665e
Compare
Choose a tag to compare

Bug Fixes:

  • Schemas fail to load in English locale. #874