Skip to content

Commit

Permalink
Use boost_test for compile test
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Oct 15, 2024
1 parent 5970659 commit 78aae44
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/compile_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt

file(GLOB SOURCES "*.cpp")
add_library(boost_math-compile_tests STATIC ${SOURCES})
target_compile_features(boost_math-compile_tests PRIVATE cxx_std_17)
target_link_libraries(boost_math-compile_tests PUBLIC Boost::math Boost::multiprecision Boost::numeric_ublas)
include_directories(../../include_private)
file(GLOB SRC_FILES CONFIGURE_DEPENDS "*.cpp")
boost_test(SOURCES ${SRC_FILES} COMPILE_FEATURES cxx_std_17 LINK_LIBRARIES Boost::math Boost::multiprecision Boost::numeric_ublas Boost::unit_test_framework )

0 comments on commit 78aae44

Please sign in to comment.