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: 15 days 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-04-19T03:02:10.000Z (21 days ago)
- Last Synced: 2025-04-19T10:40:57.257Z (20 days ago)
- Topics: algorithms, c-plus-plus, data-structures, helpers
- Language: C++
- Homepage: https://beached.github.io/header_libraries/
- Size: 68.7 MB
- Stars: 23
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Header Libraries   
## 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 .
```