vscode-cmake-tools/docs
Garrett Campbell 0e48ef9867
Allow overriding of CMakePresets cache variables and arguments (#3537)
* Update the already available settings to use in presets.

Turns out, we already have configure, build, buildTool, and test
args/envs that can override. I modified the code to use these in
presets. Also, I added a small sentence to the settings descriptions to
notify users that when using CMake Presets, they are designed for
overrides, not general configuration.

* pending further discussion, use general environment for all

* add temporary override string for presets to environment setting description

* don't remove configureSettings

* add text to specify that configureSettings isn't for presets scenario

* Add tentative treeview UI and output message for configure

Still need to do build/test/etc, and likely improve the strings
themselves.

* add output lines, improvement on the string to come, testing for location

* don't output message when we're using cache

* add handlers that update the nodes when a test or build setting is modified

* slight refactor and add * to status bar

* add button that only appears when overrides present that allows opening those settings

* share some code

* fix localize calls

* update tsconfig.json

* update eslint

* slightly reword the settings

* fix buildTool args

* avoid duplication

* ensure we only return -3 when testPreset isn't defined

* fix imports

* changelog and docs

* refactor to avoid circular dependency

* missed one

* fix imports
2024-01-19 20:52:13 +00:00
..
images Other fixes for docs referencing old status bar (#3419) 2023-11-15 19:19:30 +00:00
README.md Add script mode and ability to connect to externally launched CMake process. (#3277) 2023-09-20 13:20:31 -04:00
build.md Other fixes for docs referencing old status bar (#3419) 2023-11-15 19:19:30 +00:00
cmake-options-configuration.md Sinemakinci/c make project view docs (#3414) 2023-11-03 00:35:31 +00:00
cmake-presets.md Allow overriding of CMakePresets cache variables and arguments (#3537) 2024-01-19 20:52:13 +00:00
cmake-settings.md Sinemakinci/fix c make debug (#3371) 2023-10-10 17:08:24 +00:00
configure.md Correct wording to reflect actual text (#2334) 2022-01-20 08:16:41 -08:00
debug-launch.md Other fixes for docs referencing old status bar (#3419) 2023-11-15 19:19:30 +00:00
debug.md Add script mode and ability to connect to externally launched CMake process. (#3277) 2023-09-20 13:20:31 -04:00
faq.md docs/faq.md: fix cmake docs link + link to "Professional Cmake" (#2679) 2022-08-09 08:33:12 -07:00
how-to.md Consolidate CMake Tools documentation (#1324) 2020-06-26 15:45:34 -07:00
kits.md Update kits.md (#3272) 2023-08-01 09:36:45 -07:00
pull_request_template.md Tweak issue/PR templates 2018-09-21 23:03:58 -06:00
tasks.md update Docs on Clean and Install task (#2717) 2022-08-30 19:29:28 +00:00
troubleshoot.md point 'develop' references to 'main' instead (#2217) 2021-10-29 15:04:10 -07:00
variants.md fixed small typo in variant docs example code (#2760) 2022-10-04 00:29:35 +00:00

README.md

CMake Tools for Visual Studio Code documentation

CMake Tools is an extension designed to make it easy to work with CMake-based projects.

If you are new, try the CMake Tools quick start and see the frequently asked questions.

How to

Kits

Configure

Variants

Build

Debug and launch

Configure CMake Tools settings

Use CMakePresets

Troubleshoot CMake Tools

Frequently asked questions

How to contribute