Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beached/header_libraries
Various header libraries mostly future std lib, replacements for(e.g. visit), or some misc
https://github.com/beached/header_libraries
algorithms c-plus-plus data-structures helpers
Last synced: about 1 month ago
JSON representation
Various header libraries mostly future std lib, replacements for(e.g. visit), or some misc
- Host: GitHub
- URL: https://github.com/beached/header_libraries
- Owner: beached
- License: other
- Created: 2015-02-08T23:05:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T03:11:47.000Z (9 months ago)
- Last Synced: 2024-04-09T04:24:20.975Z (9 months ago)
- Topics: algorithms, c-plus-plus, data-structures, helpers
- Language: C++
- Homepage: https://beached.github.io/header_libraries/
- Size: 51 MB
- Stars: 22
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Header Libraries ![](https://github.com/beached/header_libraries/workflows/MacOS/badge.svg) ![](https://github.com/beached/header_libraries/workflows/Ubuntu/badge.svg) ![](https://github.com/beached/header_libraries/workflows/Windows/badge.svg)
## Description
A set of header only algorithms, data structures, and utilities I use in many of my other projects. Most should have tests located in the [tests](tests/) folder## Cmake
To use in your projects
```cmake
find_package(daw-header-libraries REQUIRED)
#...
target_link_libraries( Foo daw::daw-header-libraries )
```## Cmake and VCPKG
The port name in vcpkg is `daw-header-libraries`. Once it is installed via vcpkg(system wide/vcpkg.json manifest) it can be used like the cmake section above## Cmake FetchContent
The library can be used via `FetchContent` in cmake
```cmake
FetchContent_Declare(
daw_header_libraries
GIT_REPOSITORY https://github.com/beached/header_libraries.git
GIT_TAG master
)
#...
target_link_libraries( Foo daw::daw-header-libraries )
```## Building
to build directly from git
```bash
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=DEBUG ..
cmake --build . --target full --config Debug
```## Testing
To run unit tests```bash
ctest -C Debug
```## Installing
```bash
cmake --install .
```