https://github.com/rapptz/gears
C++ Utilities
https://github.com/rapptz/gears
Last synced: 3 months ago
JSON representation
C++ Utilities
- Host: GitHub
- URL: https://github.com/rapptz/gears
- Owner: Rapptz
- License: mit
- Created: 2013-08-14T21:53:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-30T23:01:49.000Z (about 10 years ago)
- Last Synced: 2025-01-08T23:46:40.809Z (4 months ago)
- Language: C++
- Homepage: http://rapptz.github.io/Gears/docs/
- Size: 3.27 MB
- Stars: 25
- Watchers: 6
- Forks: 44
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Gears
[](https://travis-ci.org/Rapptz/Gears)
Gears is a header-only library that offers utilities for C++11 programmers. It is a more enhanced remake of
the [original library][orig] hosted at Bitbucket. The [issue tracker][issues] will be used to keep track of things
I plan to remake until I'm satisfied initially. Documentation can be found [here][docs]## Compiling Tests
The tests obviously require compilation. Although not required to be built, it's a good idea to compile them anyway to
see if the compiler can build gears. In order to compile gears, [ninja][ninja] is required.
Python is used to generate the ninja file so just invoke:./bootstrap.py --cxx=g++ && ninja
## Single Headers
Sometimes a single header is a bit more helpful to have than a tightly coupled library directory. This makes dependency
handling a lot easier to work with since you'd only need a single file to include and you'd be good to go. A python script
has been provided for convenience to perform this exact use-case. In order to generate a single header file of a module just
invoke it with the following:```
./single.py io
```This would generate the entire io module and all its dependencies into a single file for ease of use. You can see more
options with `./single.py --help`.## Compiler Support
Currently Gears targets compilers that have good support of C++11 features, at the moment these include Clang 3.4 and GCC 4.8
or higher. Visual Studio 2013 could have worked in theory but it isn't technically supported and any bugs are a side effect.No extraneous libraries are required to use Gears, only the standard library.
[orig]: https://bitbucket.org/Rapptz/gears
[issues]: https://github.com/Rapptz/Gears/issues?milestone=1&state=open
[docs]: http://rapptz.github.io/Gears/docs/
[ninja]: https://github.com/martine/ninja