boostorg / container_hash

Generic hash function for STL style unordered containers
https://boost.org/libs/container_hash
32 stars 38 forks source link

[CMake] Add minimal cmake file #5

Closed Mike-Devel closed 5 years ago

Mike-Devel commented 5 years ago

This cmake file just provides the minimal infrastructure necessary, such that other libraries can get a sensible result from calling

add_subdirectory( <path-to-boost_container_hash> )
target_link_libraries( <my_lib> PUBLIC Boost::container_hash )

More information:

Of course the file can be extended to e.g. build and run tests and support installation, but that is out of scope for this particular PR.