#cmake #version-manager #macos #manage #multiple #command #platform

build cmvm

cmvm is a simple tool that manages multiple CMake versions

9 releases

0.3.9 Aug 21, 2024
0.3.8 Apr 29, 2024
0.3.7 Aug 7, 2023
0.3.6 May 20, 2023
0.3.2 Apr 24, 2022

#80 in Build Utils

Custom license

30KB
717 lines

CMake Version Manager

ci Crates.io

cmvm is a simple tool that manages multiple CMake versions for macOS and Linux platforms.

How to install

Homebrew

brew tap iepsen/cmvm
brew install cmvm

Cargo

cargo install cmvm

Releases

Binaries are available for download on both macOS and Linux platforms since v0.3.3.

Adding cmake to the path

Once you have cmvm installed, you need to add CMake current version on your path. Use the following command to get instructions:

cmvm shell

Usage

Install a CMake version:

cmvm install 3.20.1

List available CMake versions to install:

cmvm list-remote

List CMake versions managed by cmvm installed:

cmvm list

Switch to a CMake version:

cmvm use 3.20.1

List all commands available and usage examples:

cmvm help

How to contribute

Feel free to open an issue or pull request.

Dependencies

~10–27MB
~367K SLoC