Skip to content

Commit

Permalink
Add boost-container-hash library
Browse files Browse the repository at this point in the history
  • Loading branch information
fintarin committed Feb 5, 2024
1 parent 2af8450 commit 81db986
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,15 @@
[submodule "thirdparty/googletest"]
path = thirdparty/googletest
url = https://github.com/google/googletest
[submodule "thirdparty/boost-container-hash"]
path = thirdparty/boost-container-hash
url = https://github.com/boostorg/container_hash
[submodule "thirdparty/boost-config"]
path = thirdparty/boost-config
url = https://github.com/boostorg/config
[submodule "thirdparty/boost-describe"]
path = thirdparty/boost-describe
url = https://github.com/boostorg/describe
[submodule "thirdparty/boost-mp11"]
path = thirdparty/boost-mp11
url = https://github.com/boostorg/mp11
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ target_include_directories(
PUBLIC include
PRIVATE src)

target_link_libraries(${PROJECT_NAME} PUBLIC MPFR Boost::multiprecision Boost::math)
target_link_libraries(
${PROJECT_NAME}
PUBLIC MPFR
Boost::multiprecision
Boost::math
Boost::container_hash)

include(cmake/CompilerWarnings.cmake)
include(cmake/Coverage.cmake)
Expand Down
12 changes: 12 additions & 0 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/mpfr-gmp-prebuilt
PARENT_SCOPE)

add_subdirectory(boost-config)
mark_include_directories_as_system(boost_config)

add_subdirectory(boost-mp11)
mark_include_directories_as_system(boost_mp11)

add_subdirectory(boost-describe)
mark_include_directories_as_system(boost_describe)

add_subdirectory(boost-container-hash)
mark_include_directories_as_system(boost_container_hash)

add_subdirectory(boost-multiprecision)
mark_include_directories_as_system(boost_multiprecision)

Expand Down
1 change: 1 addition & 0 deletions thirdparty/boost-config
Submodule boost-config added at cbeca5
1 change: 1 addition & 0 deletions thirdparty/boost-container-hash
Submodule boost-container-hash added at 48a306
1 change: 1 addition & 0 deletions thirdparty/boost-describe
Submodule boost-describe added at c89e4d
1 change: 1 addition & 0 deletions thirdparty/boost-mp11
Submodule boost-mp11 added at 391e23

0 comments on commit 81db986

Please sign in to comment.