Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfultz2/cget
C++ package retrieval
https://github.com/pfultz2/cget
c cget cmake cmake-packages cplusplus cpp crossplatform dependency-manager linux osx package-manager pkgconfig windows
Last synced: about 13 hours ago
JSON representation
C++ package retrieval
- Host: GitHub
- URL: https://github.com/pfultz2/cget
- Owner: pfultz2
- License: other
- Created: 2016-02-27T00:15:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T08:24:03.000Z (10 months ago)
- Last Synced: 2025-01-25T03:17:21.844Z (8 days ago)
- Topics: c, cget, cmake, cmake-packages, cplusplus, cpp, crossplatform, dependency-manager, linux, osx, package-manager, pkgconfig, windows
- Language: Python
- Homepage: http://cget.readthedocs.io
- Size: 407 KB
- Stars: 455
- Watchers: 17
- Forks: 27
- Open Issues: 51
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cget
====Cmake package retrieval. This can be used to download and install cmake packages. The advantages of using `cget` are:
* Non-intrusive: There is no need to write special hooks in cmake to use `cget`. One cmake file is written and can be used to install a package with `cget` or standalone.
* Works out of the box: Since it uses the standard build and install of cmake, it already works with almost all cmake packages. There is no need to wait for packages to convert over to support `cget`. Standard cmake packages can be already installed immediately.
* Decentralized: Packages can be installed from anywhere, from github, urls, or local files.Getting cget
------------`cget` can be simply installed using `pip`(you can get pip from [here](https://pip.pypa.io/en/stable/installing/)):
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
Quickstart
----------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
Documentation
-------------See [here](http://cget.readthedocs.io/) for the latest documentation.
Supported platforms
-------------------This is supported on python 2.7, 3.4, and 3.5.