0e48ef9867
* 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 |
||
---|---|---|
.devcontainer | ||
.github | ||
.vscode | ||
docs | ||
i18n | ||
jobs/loc | ||
res | ||
schemas | ||
src | ||
test | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.vscodeignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE.txt | ||
NOTICE.txt | ||
README.md | ||
SECURITY.md | ||
THIRD.md | ||
gulpfile.js | ||
package.json | ||
package.nls.json | ||
test.tsconfig.json | ||
translations_auto_pr.js | ||
tsconfig.json | ||
webpack.config.js | ||
yarn.lock |
README.md
CMake Tools
CMake Tools provides the native developer a full-featured, convenient, and powerful workflow for CMake-based projects in Visual Studio Code.
Important doc links
- CMake Tools quick start
- Configure and build a project with CMake Presets
- Configure a project with kits and variants
- Build a project with kits and variants
- Configure and build a project using tasks
- Debug a project
- Configure CMake Tools settings
- How to
- FAQ
- Read the online documentation
- Contribute
Issues? Questions? Feature requests?
PLEASE, if you experience any problems, have any questions, or have an idea for a new feature, create an issue on the GitHub page!
This extension itself does not provide language support for the CMake scripting language. For that we bundle this extension which provides the support. A closed-source extension that provides even better support can also be installed: CMake Language Support
Microsoft Open Source Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Data/Telemetry
This extension collects usage data and sends it to Microsoft to help improve our products and services. Collection of telemetry is controlled via the same setting provided by Visual Studio Code: "telemetry.enableTelemetry"
. Read our privacy statement to learn more.
Credits
This project was started by @vector-of-bool and is now currently maintained by Microsoft.