Home

Awesome

<div align="center">

asdf-cmake Build Lint

cmake plugin for the asdf version manager.

</div>

This plugin will try to install an official binary release of CMake, but can also build and install from source if necessary or desired.

Contents

Dependencies

Install

Plugin:

asdf plugin add cmake https://github.com/asdf-community/asdf-cmake.git

cmake:

# Show all installable versions
asdf list-all cmake

# Install specific version
asdf install cmake latest

# Set a version globally (on your ~/.tool-versions file)
asdf global cmake latest

# Now cmake commands are available
cmake --version

Check asdf readme for more instructions on how to install & manage versions.

cmake-gui

Binary installations include cmake-gui by default.

If installing from source, and you have Qt installed on your machine you can get the cmake-gui program built by providing the path to the Qt binary directory in the QTBINDIR environment variable when invoking asdf install cmake.

For instance, on a Mac with Qt installed using brew that would be :

QTBINDIR=/usr/local/opt/qt/bin asdf install cmake <version>

Configuration

A few environment variables can affect this plugin:

Acknowledgements

The plugin is based on work in srivathsanmurali/asdf-cmake. Many thanks to the original authors of that project.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Andy Mroczkowski