https://github.com/devcontainers-community/features-cmake
🍰 Installs the CMake build tool
https://github.com/devcontainers-community/features-cmake
cmake devcontainer-feature devcontainers install-script installer-script
Last synced: 4 months ago
JSON representation
🍰 Installs the CMake build tool
- Host: GitHub
- URL: https://github.com/devcontainers-community/features-cmake
- Owner: devcontainers-community
- License: mit
- Created: 2023-08-14T04:03:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T19:29:43.000Z (over 2 years ago)
- Last Synced: 2025-04-14T01:18:28.743Z (10 months ago)
- Topics: cmake, devcontainer-feature, devcontainers, install-script, installer-script
- Language: Shell
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[⬅️ Back to feature collection](https://github.com/devcontainers-community/features/)
# CMake Dev Container Feature
🍰 Installs the CMake build tool
> CMake is an open-source, cross-platform family of tools designed to build,
> test and package software. CMake is used to control the software compilation
> process using simple platform and compiler independent configuration files,
> and generate native makefiles and workspaces that can be used in the compiler
> environment of your choice. The suite of CMake tools were created by Kitware
> in response to the need for a powerful, cross-platform build environment for
> open-source projects such as ITK and VTK.
— [CMake](https://cmake.org/)
This Dev Container Feature will install CMake using the official installer `.sh`
script into the `/usr/local` folder. This should place it on your `$PATH` no
problem! 🚀 It also installs the [CMake VS Code extension].
## Usage


To use this feature, all you need to do is add it to your `devcontainer.json`
like this:
```jsonc
// devcontainer.json
{
"features": {
"ghcr.io/devcontainers-community/features/cmake": {}
}
}
```
❓ Don't know what this ☝ means? Check out [this VS Code blog post].
### Options
- **`version`:** Choose a specific version to install. The default is `latest`.
If specified, this should be a full `X.Y.Z` version number.
[this vs code blog post]: https://code.visualstudio.com/blogs/2022/09/15/dev-container-features
[cmake vs code extension]: https://marketplace.visualstudio.com/items?itemName=twxs.cmake