early-access version 3088

This commit is contained in:
pineappleEA
2022-11-05 15:35:56 +01:00
parent 4e4fc25ce3
commit b601909c6d
35519 changed files with 5996896 additions and 860 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 2021 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
include(BoostTest OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST)
if(NOT HAVE_BOOST_TEST)
return()
endif()
set(BOOST_TEST_LINK_LIBRARIES Boost::rational)
boost_test(TYPE run SOURCES rational_example.cpp)
boost_test(TYPE run SOURCES rational_test.cpp LINK_LIBRARIES Boost::unit_test_framework)
boost_test(TYPE run SOURCES constexpr_test.cpp COMPILE_FEATURES cxx_constexpr)
boost_test(TYPE compile-fail SOURCES expected_fail_01.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_02.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_03.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_04.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_05.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_06.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_07.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_08.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_09.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_10.cpp)
boost_test(TYPE compile-fail SOURCES expected_fail_11.cpp)
boost_test(TYPE compile SOURCES expected_compile_12.cpp)