Skip to content

Commit 8f5bc28

Browse files
Merge branch 'main' into issue-2132-add-to-cmakelists
2 parents 44f594a + ddb8cda commit 8f5bc28

33 files changed

+1875
-26
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Features:
99
- Add an option to group the default build target dropdown using CMake groups [#3953](https://github.com/microsoft/vscode-cmake-tools/pull/3953) [@itzandroidtab](https://github.com/itzandroidtab)
1010
- Add `cmake.exclude` setting that allows users to set folders that they want the CMake Tools extension to ignore. [#4112](https://github.com/microsoft/vscode-cmake-tools/issues/4112)
1111
- Add a command to substitute CMake Cache variables in `launch.json` and `tasks.json`. [#4422](https://github.com/microsoft/vscode-cmake-tools/pull/4422)
12+
- Add support for presets v10. [#4459](https://github.com/microsoft/vscode-cmake-tools/issues/4459), [#4445](https://github.com/microsoft/vscode-cmake-tools/issues/4452)
1213

1314
Improvements:
1415

@@ -28,6 +29,7 @@ Bug Fixes:
2829
- Fix evaluation of conditions in presets. [#4425](https://github.com/microsoft/vscode-cmake-tools/issues/4425)
2930
- Fix ENOENT error at vscode startup on some circumstances [#2855](https://github.com/microsoft/vscode-cmake-tools/issues/2855) Contributed by STMicroelectronics
3031
- Fix repeat execution option in test presets [#4443](https://github.com/microsoft/vscode-cmake-tools/issues/4443)
32+
- Fix bug that makes some build hang [#4424](https://github.com/microsoft/vscode-cmake-tools/issues/4424) and [#4465](https://github.com/microsoft/vscode-cmake-tools/issues/4465)
3133

3234
## 1.20.53
3335

i18n/chs/package.i18n.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"cmake-tools.configuration.cmake.ctest.allowParallelJobs.description": "允许并行运行 ctest,但结果输出可能会因此而乱码,并且测试资源管理器可能无法准确地反映测试进度。",
110110
"cmake-tools.configuration.cmake.ctest.testExplorerIntegrationEnabled.description": "是否启用与测试资源管理器的集成。如果希望使用其他扩展进行测试集成,这有助于禁用。",
111111
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiter.markdownDescription": "可选分隔符,用于在测试资源管理器中以分层方式分隔测试套件名称和组合测试。此字符串用于正则表达式,因此某些分隔符可能需要转义。示例: `-` (一个分隔符: `-`),`\\.|::` (两个分隔符: `.` 或 `::`。请注意,需要对 `.` 进行转义。)",
112+
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiterMaxOccurrence.markdownDescription": "分隔符可用于拆分测试名称的最大次数。`0` 表示无限制。",
112113
"cmake-tools.configuration.cmake.ctest.debugLaunchTarget.description": "在使用 CTest 调试测试时,从 launch.json 中获取目标名称以启动。默认情况下,如果目标不存在,将显示一个包含所有有空目标的选取器。",
113114
"cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "分析编译器输出以查找警告和错误。",
114115
"cmake-tools.configuration.cmake.enabledOutputParsers.description": "要使用的输出分析程序。支持的分析程序 `cmake`、`gcc`、`gnuld`(适用于 GNULD 样式的 inker 输出)、`msvc`(适用于 Microsoft Visual C++)、`ghs`(适用于 Green Hills 编译器,具有 --no_wrap_diagnostics --brief_diagnostics),以及 `diab`(适用于 Wind River Diab 编译器)。",
@@ -167,6 +168,7 @@
167168
"cmake-tools.configuration.cmake.enableTraceLogging.description": "对文件和控制台启用跟踪日志记录(噪音很大)。",
168169
"cmake-tools.configuration.cmake.autoSelectActiveFolder.description": "自动选择活动文件夹。",
169170
"cmake-tools.configuration.cmake.defaultActiveFolder.description": "设置默认活动文件夹(仅在禁用 cmake.autoSelectActiveFolder 时有效)。",
171+
"cmake-tools.configuration.cmake.exclude.description": "The extension will ignore the folders listed in this setting. The folders should be listed as absolute paths.",
170172
"cmake-tools.configuration.cmake.touchbar.advanced.description": "配置扩展如何在 MacBook 触摸栏上显示按钮的高级设置。",
171173
"cmake-tools.configuration.cmake.touchbar.visibility.description": "配置扩展在 MacBook 触控栏上显示按钮的方式。",
172174
"cmake-tools.configuration.cmake.touchbar.visibility.default.description": "在支持的系统上显示触控栏按钮。",
@@ -215,6 +217,7 @@
215217
"cmake-tools.configuration.cmake.preRunCoverageTarget.description": "使用测试资源管理器运行覆盖率测试之前要生成的目标",
216218
"cmake-tools.configuration.cmake.postRunCoverageTarget.description": "使用测试资源管理器运行覆盖率测试之后要生成的目标",
217219
"cmake-tools.configuration.cmake.coverageInfoFiles.description": "使用测试资源管理器运行覆盖率测试后要处理的 LCOV 覆盖率信息文件。",
220+
"cmake-tools.configuration.cmake.useFolderPropertyInBuildTargetDropdown.description": "控制默认生成目标下拉列表是否按 CMake 文件夹组分组。",
218221
"cmake-tools.debugger.pipeName.description": "用于调试器通信的管道(在 Windows 上)或域套接字(在 Unix 上)的名称。",
219222
"cmake-tools.debugger.clean.description": "在配置之前清理。",
220223
"cmake-tools.debugger.configureAll.description": "为所有项目配置。",

i18n/chs/src/cmakeProject.i18n.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
"project.configuration.failed": "项目配置失败。",
158158
"install.failed": "安装失败",
159159
"launch.with.overrides": "注意: 你正在启动目标,并且正在从 VS Code 设置中应用一些环境替代。",
160+
"cachevariable.missing.required.argument.name": "cacheVariable: 缺少必需的参数 “name”。",
161+
"cachevariable.not.found": "在 CMake 缓存中找不到变量“{0}”,并且未提供默认值。",
160162
"set.up.and.build.project.before.debugging": "请先设置和生成 CMake 项目,然后再进行调试。",
161163
"target.debugging.unsupported": "旧驱动程序不再支持目标调试",
162164
"learn.more.button": "了解详细信息",

i18n/cht/package.i18n.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"cmake-tools.configuration.cmake.ctest.allowParallelJobs.description": "允許 ctest 平行執行,但結果輸出可能因此而出現亂碼,且測試總管可能無法精確反映測試進度。",
110110
"cmake-tools.configuration.cmake.ctest.testExplorerIntegrationEnabled.description": "是否已啟用與測試總管的整合。如果您偏好使用不同的延伸模組進行測試整合,這有助於停用。",
111111
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiter.markdownDescription": "選擇性分隔符號,用來在測試總管中以階層方式分隔測試套件名稱和群組測試。此字串用於規則運算式,因此某些分隔符號可能需要逸出。範例:`-` (一個分隔符號:`-`)、`\\.|::` (兩個分隔符號:`.` 或 `::`。請注意,`.` 必須逸出。)",
112+
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiterMaxOccurrence.markdownDescription": "分隔符號可用來分割測試名稱的次數上限。`0` 表示沒有限制。",
112113
"cmake-tools.configuration.cmake.ctest.debugLaunchTarget.description": "在使用 CTest 進行偵錯測試時,從 launch.json 中指定要啟動的目標名稱。根據預設,若目標不存在,這會顯示列出所有可用目標的選擇器。",
113114
"cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "剖析警告與錯誤的編譯器輸出。",
114115
"cmake-tools.configuration.cmake.enabledOutputParsers.description": "要使用的輸出剖析器。支援的剖析器為 `cmake`、`gcc`、`gnuld` (若為 GNULD 樣式的連結器輸出)、`msvc` (若為 Microsoft Visual C++)、`ghs` (若為具有 --no_wrap_diagnostics --brief_diagnostics 的 Green Hills 編譯器) 及 `diab` (若為 Wind River Diab 編譯器)。",
@@ -167,6 +168,7 @@
167168
"cmake-tools.configuration.cmake.enableTraceLogging.description": "為檔案及主控台啟用追蹤記錄 (雜訊非常多)。",
168169
"cmake-tools.configuration.cmake.autoSelectActiveFolder.description": "自動選取使用中的資料夾。",
169170
"cmake-tools.configuration.cmake.defaultActiveFolder.description": "設定預設作用中資料夾 (只有在 cmake.autoSelectActiveFolder 停用時才有效)。",
171+
"cmake-tools.configuration.cmake.exclude.description": "The extension will ignore the folders listed in this setting. The folders should be listed as absolute paths.",
170172
"cmake-tools.configuration.cmake.touchbar.advanced.description": "設定延伸模組在 MacBook 觸控列上顯示按鈕之進階設定的方式。",
171173
"cmake-tools.configuration.cmake.touchbar.visibility.description": "設定延伸模組在 MacBook 觸控列上顯示按鈕的方式。",
172174
"cmake-tools.configuration.cmake.touchbar.visibility.default.description": "在支援的系統上顯示觸控列按鈕。",
@@ -215,6 +217,7 @@
215217
"cmake-tools.configuration.cmake.preRunCoverageTarget.description": "使用測試總管對涵蓋範圍執行測試之前的建置目標",
216218
"cmake-tools.configuration.cmake.postRunCoverageTarget.description": "使用測試總管對涵蓋範圍執行測試之後的建置目標",
217219
"cmake-tools.configuration.cmake.coverageInfoFiles.description": "使用測試總管對涵蓋範圍執行測試之後,要處理的 LCOV 涵蓋範圍資訊檔案。",
220+
"cmake-tools.configuration.cmake.useFolderPropertyInBuildTargetDropdown.description": "控制預設建置目標下拉式功能表是否依據 CMake 資料夾群組進行分組。",
218221
"cmake-tools.debugger.pipeName.description": "用於偵錯工具通訊的管道 (在 Windows 上) 或網域通訊端 (在 Unix 上) 的名稱。",
219222
"cmake-tools.debugger.clean.description": "在設定之前先清除。",
220223
"cmake-tools.debugger.configureAll.description": "設定所有專案。",

i18n/cht/src/cmakeProject.i18n.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
"project.configuration.failed": "設定專案失敗。",
158158
"install.failed": "安裝失敗",
159159
"launch.with.overrides": "注意: 您正在啟動目標,且您的 VS Code 設定中正在套用某些環境覆寫。",
160+
"cachevariable.missing.required.argument.name": "cacheVariable: 缺少必要的參數 \"name\"",
161+
"cachevariable.not.found": "在 CMake 快取中找不到變數「{0}」,也未提供預設值。",
160162
"set.up.and.build.project.before.debugging": "先設定並建置 CMake 專案再偵錯。",
161163
"target.debugging.unsupported": "舊版驅動程式已不再支援目標偵錯",
162164
"learn.more.button": "深入了解",

i18n/csy/package.i18n.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"cmake-tools.configuration.cmake.ctest.allowParallelJobs.description": "Umožňuje paralelní spouštění ctestů, avšak výstup výsledků může být v důsledku toho zkreslený a Průzkumník testů nemusí přesně odrážet průběh testu.",
110110
"cmake-tools.configuration.cmake.ctest.testExplorerIntegrationEnabled.description": "Určuje, jestli je povolená integrace s průzkumníkem testů. To je užitečné zakázat, pokud upřednostňujete použití jiného rozšíření pro integraci testů.",
111111
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiter.markdownDescription": "Volitelný oddělovač používaný k oddělení názvů sad testů a hierarchickému seskupení testů v Průzkumníku testů. Tento řetězec se používá v regulárních výrazech, takže pro některé oddělovače může být nutné zadat uvozovací znak. Příklady: `-` (Jeden oddělovač: `-`), `\\.|::` (Dva oddělovače: `.` nebo `::`. Poznámka: Znak `.` musí být uvozen uvozovacími znaky.)",
112+
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiterMaxOccurrence.markdownDescription": "Maximální počet použití oddělovače k rozdělení názvu testu. `0` znamená žádný limit.",
112113
"cmake-tools.configuration.cmake.ctest.debugLaunchTarget.description": "Název cíle z launch.json, který se spustí při ladění testu pomocí CTestu. Ve výchozím nastavení a v případě neexistujícího cíle se zobrazí výběr se všemi dostupnými cíli.",
113114
"cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "Analyzovat výstup kompilátoru z hlediska upozornění a chyb",
114115
"cmake-tools.configuration.cmake.enabledOutputParsers.description": "Výstupní analyzátory, které se mají použít. Podporované jsou analyzátory `cmake`, `gcc` a `gnuld` pro výstup linkeru ve stylu GNULD, `msvc` pro Microsoft Visual C++, `ghs` pro kompilátor Green Hills s parametry --no_wrap_diagnostics nebo --brief_diagnostics a `diab` pro kompilátor Wind River Diab.",
@@ -167,6 +168,7 @@
167168
"cmake-tools.configuration.cmake.enableTraceLogging.description": "Povolit protokolování trasování do souboru a konzoly (velmi vysoké objemy dat)",
168169
"cmake-tools.configuration.cmake.autoSelectActiveFolder.description": "Vybrat aktivní složku automaticky",
169170
"cmake-tools.configuration.cmake.defaultActiveFolder.description": "Nastavte výchozí aktivní složku (funguje jenom v případě, že je zakázané nastavení cmake.autoSelectActiveFolder).",
171+
"cmake-tools.configuration.cmake.exclude.description": "The extension will ignore the folders listed in this setting. The folders should be listed as absolute paths.",
170172
"cmake-tools.configuration.cmake.touchbar.advanced.description": "Nakonfiguruje upřesňující nastavení pro způsob, jakým rozšíření zobrazuje tlačítka na Touch Baru MacBooku.",
171173
"cmake-tools.configuration.cmake.touchbar.visibility.description": "Nakonfiguruje, jak rozšíření zobrazuje tlačítka na Touch Baru na MacBooku.",
172174
"cmake-tools.configuration.cmake.touchbar.visibility.default.description": "Umožňuje zobrazit na podporovaných systémech tlačítka Touch Baru.",
@@ -215,6 +217,7 @@
215217
"cmake-tools.configuration.cmake.preRunCoverageTarget.description": "Cíl, který se má sestavit před spuštěním testů s pokrytím pomocí Průzkumníka testů",
216218
"cmake-tools.configuration.cmake.postRunCoverageTarget.description": "Cíl, který se má sestavit po spuštění testů s pokrytím pomocí Průzkumníka testů",
217219
"cmake-tools.configuration.cmake.coverageInfoFiles.description": "Soubory s informacemi o pokrytí LCOV, které se mají zpracovat po spuštění testů s pokrytím pomocí Průzkumníka testů",
220+
"cmake-tools.configuration.cmake.useFolderPropertyInBuildTargetDropdown.description": "Určuje, jestli je výchozí rozevírací seznam cíle sestavení seskupený podle skupin složek CMake.",
218221
"cmake-tools.debugger.pipeName.description": "Název kanálu (ve Windows) nebo soketu domény (v systému Unix), který se má použít pro komunikaci ladicího programu.",
219222
"cmake-tools.debugger.clean.description": "Před konfigurací vyčistěte.",
220223
"cmake-tools.debugger.configureAll.description": "Nakonfigurujte pro všechny projekty.",

i18n/csy/src/cmakeProject.i18n.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
"project.configuration.failed": "Konfigurace projektu se nezdařila.",
158158
"install.failed": "Instalace selhala.",
159159
"launch.with.overrides": "POZNÁMKA: Spouštíte cíl a používají některá přepisující nastavení prostředí z vašeho nastavení VS Code.",
160+
"cachevariable.missing.required.argument.name": "cacheVariable: Chybí povinný argument name.",
161+
"cachevariable.not.found": "V mezipaměti CMake nebyla nalezena proměnná {0} a nebyla zadána žádná výchozí hodnota.",
160162
"set.up.and.build.project.before.debugging": "Před zahájením ladění nastavte a sestavte projekt CMake.",
161163
"target.debugging.unsupported": "U starší verze ovladače už není podporované ladění cíle.",
162164
"learn.more.button": "Další informace",

i18n/deu/package.i18n.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"cmake-tools.configuration.cmake.ctest.allowParallelJobs.description": "Ermöglicht die parallele Ausführung von ctests. Die Ergebnisausgabe ist jedoch möglicherweise dadurch unverständlich, und der Test-Explorer spiegelt den Teststatus möglicherweise nicht exakt wider.",
110110
"cmake-tools.configuration.cmake.ctest.testExplorerIntegrationEnabled.description": "Gibt an, ob die Integration in den Test-Explorer aktiviert ist. Es ist hilfreich diese zu deaktivieren, wenn Sie lieber eine andere Erweiterung für die Testintegration verwenden.",
111111
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiter.markdownDescription": "Optionales Trennzeichen, das zum hierarchischen Trennen von Testsammlungsnamen und Gruppentests im Test-Explorer verwendet wird. Diese Zeichenfolge wird in einem regulären Ausdruck verwendet, sodass einige Trennzeichen möglicherweise mit Escapezeichen versehen werden müssen. Beispiele: `-` ( Ein Trennzeichen: `-`), `\\.|::` (Zwei Trennzeichen: `.` oder `::`. Beachten Sie, dass `.` mit Escapezeichen versehen werden muss.)",
112+
"cmake-tools.configuration.cmake.ctest.testSuiteDelimiterMaxOccurrence.markdownDescription": "Die maximale Anzahl, wie oft das Trennzeichen zum Aufteilen des Testnamens verwendet werden darf. `0` bedeutet, dass es kein Limit gibt.",
112113
"cmake-tools.configuration.cmake.ctest.debugLaunchTarget.description": "Zielname aus launch.json, der beim Debuggen eines Tests mit CTest gestartet werden soll. Standardmäßig wird bei einem nicht vorhandenen Ziel ein Auswahlfeld mit allen verfügbaren Zielen angezeigt.",
113114
"cmake-tools.configuration.cmake.parseBuildDiagnostics.description": "Hiermit wird Compilerausgabe auf Warnungen und Fehler analysiert.",
114115
"cmake-tools.configuration.cmake.enabledOutputParsers.description": "Zu verwendende Ausgabeparser. Unterstützte Parser `cmake`, `gcc`, `gnuld` für die Linkerausgabe im GNULD-Format, `msvc` für Microsoft Visual C++, `ghs` für den Green Hills-Compiler mit --no_wrap_diagnostics --brief_diagnostics und `diab` für den Wind River Diab-Compiler.",
@@ -167,6 +168,7 @@
167168
"cmake-tools.configuration.cmake.enableTraceLogging.description": "Hiermit wird die Ablaufverfolgungsprotokollierung in Datei und Konsole aktiviert (große Datenmenge).",
168169
"cmake-tools.configuration.cmake.autoSelectActiveFolder.description": "Hiermit wird der aktive Ordner automatisch ausgewählt.",
169170
"cmake-tools.configuration.cmake.defaultActiveFolder.description": "Legen Sie den standardmäßigen aktiven Ordner fest (funktioniert nur, wenn cmake.autoSelectActiveFolder deaktiviert ist).",
171+
"cmake-tools.configuration.cmake.exclude.description": "The extension will ignore the folders listed in this setting. The folders should be listed as absolute paths.",
170172
"cmake-tools.configuration.cmake.touchbar.advanced.description": "Hiermit werden erweiterte Einstellungen konfiguriert, wie die Erweiterung die Schaltflächen auf einer MacBook Touch Bar anzeigt.",
171173
"cmake-tools.configuration.cmake.touchbar.visibility.description": "Hiermit wird konfiguriert, wie die Erweiterung die Schaltflächen auf einer MacBook Touch Bar anzeigt.",
172174
"cmake-tools.configuration.cmake.touchbar.visibility.default.description": "Hiermit werden die Touch Bar-Schaltflächen auf unterstützten Systemen angezeigt.",
@@ -215,6 +217,7 @@
215217
"cmake-tools.configuration.cmake.preRunCoverageTarget.description": "Ziel, das vor dem Ausführen von Tests mit Abdeckung mithilfe des Test-Explorers erstellt werden soll",
216218
"cmake-tools.configuration.cmake.postRunCoverageTarget.description": "Ziel, das nach dem Ausführen von Tests mit Abdeckung mithilfe des Test-Explorers erstellt werden soll",
217219
"cmake-tools.configuration.cmake.coverageInfoFiles.description": "LCOV-Abdeckungsinfodateien, die nach der Ausführung von Tests mit Abdeckung mit dem Testexplorer verarbeitet werden.",
220+
"cmake-tools.configuration.cmake.useFolderPropertyInBuildTargetDropdown.description": "Steuert, ob das Dropdown für das standardmäßige Buildziel nach den CMake-Ordnergruppen gruppiert wird.",
218221
"cmake-tools.debugger.pipeName.description": "Der Name der Pipe (unter Windows) oder des Domänensockets (unter Unix) zur Verwendung für die Debuggerkommunikation.",
219222
"cmake-tools.debugger.clean.description": "Hiermit erfolgt vor der Konfiguration eine Bereinigung.",
220223
"cmake-tools.debugger.configureAll.description": "Hiermit erfolgt die Konfiguration für alle Projekte.",

i18n/deu/src/cmakeProject.i18n.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
"project.configuration.failed": "Fehler bei der Konfiguration des Projekts.",
158158
"install.failed": "Installationsfehler",
159159
"launch.with.overrides": "HINWEIS: Sie starten ein Ziel, und es werden einige Umgebungsüberschreibungen aus Ihren VS Code-Einstellungen angewendet.",
160+
"cachevariable.missing.required.argument.name": "cacheVariable: Das erforderliche Argument \"name\" fehlt.",
161+
"cachevariable.not.found": "Die Variable \"{0}\" wurde im CMake-Cache nicht gefunden, und es wurde kein Standardwert angegeben.",
160162
"set.up.and.build.project.before.debugging": "Richten Sie vor dem Debuggen Ihr CMake-Projekt ein, und erstellen Sie es.",
161163
"target.debugging.unsupported": "Das Zieldebuggen wird mit dem Legacytreiber nicht mehr unterstützt.",
162164
"learn.more.button": "Weitere Informationen",

0 commit comments

Comments
 (0)