• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 Mike Dev
2# Distributed under the Boost Software License, Version 1.0.
3# See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
4#
5# NOTE: CMake support for Boost.Rational is currently experimental at best
6#       and the interface is likely to change in the future
7
8# NOTE: Boost::test not yet available, so we can't run the regular test
9# add_executable( test_boost_rational_test rational_test.cpp )
10# target_link_libraries( test_boost_rational_test
11#     PUBLIC
12#         Boost::rational
13#         Boost::mpl
14#         Boost::test
15# )
16# add_test( NAME test_boost_rational_test COMMAND test_boost_rational_test )
17
18add_executable( test_boost_rational_constexpr_test constexpr_test.cpp )
19target_link_libraries( test_boost_rational_constexpr_test
20    PUBLIC
21        Boost::rational
22)
23
24add_test( NAME test_boost_rational_constexpr_test COMMAND test_boost_rational_constexpr_test )
25
26