Cmake package retrieval. This can be used to download and install cmake packages. The advantages of using cget
are:
cget
. One cmake file is written and can be used to install a package with cget
or standalone.cget
. Standard cmake packages can be already installed immediately.cget
can be simply installed using pip
(you can get pip from here):
pip install cget
Or installed directly with python:
python setup.py install
On windows, you may want to install pkgconfig-lite to support packages that use pkgconfig. This can be installed with cget
as well:
cget install pfultz2/pkgconfig
We can also install cmake packages directly from source files, for example zlib:
cget install http://zlib.net/zlib-1.2.11.tar.gz
However, its much easier to install recipes so we don't have to remember urls:
cget install pfultz2/cget-recipes
Then we can install packages such as boost:
cget install boost
Or curl:
cget install curl
See here for the latest documentation.
This is supported on python 2.7, 3.4, and 3.5.