Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.94 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.94 KB

⬅️ Back to feature collection

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

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

Codespaces Devcontainers

To use this feature, all you need to do is add it to your devcontainer.json like this:

// 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.