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 folder
To use in your projects
find_package(daw-header-libraries REQUIRED)
#...
target_link_libraries( Foo daw::daw-header-libraries )
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
The library can be used via FetchContent
in 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 )
to build directly from git
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=DEBUG ..
cmake --build . --target full --config Debug
To run unit tests
ctest -C Debug
cmake --install .