/header_libraries

Various header libraries mostly future std lib, replacements for(e.g. visit), or some misc

Primary LanguageC++OtherNOASSERTION

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 folder

Cmake

To use in your projects

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

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

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=DEBUG ..
cmake --build . --target full --config Debug

Testing

To run unit tests

ctest -C Debug

Installing

cmake --install .