diff --git a/Jamfile.v2 b/Jamfile.v2 deleted file mode 100644 index 7c0a96b..0000000 --- a/Jamfile.v2 +++ /dev/null @@ -1,9 +0,0 @@ -# copyright John Maddock 2003 -# Use, modification and distribution are subject to the -# Boost Software License, Version 1.0. (See accompanying file -# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -# bring in the rules for testing -import testing ; - -build-project test ; \ No newline at end of file diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..0174401 --- /dev/null +++ b/build.jam @@ -0,0 +1,20 @@ +# Copyright René Ferdinand Rivera Morell 2023 +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) + +import project ; + +project /boost/static_assert + : common-requirements + /boost/config//boost_config + include + ; + +explicit + [ alias boost_static_assert ] + [ alias all : boost_static_assert example test ] + ; + +call-if : boost-library static_assert + ; diff --git a/example/Jamfile.v2 b/example/Jamfile.v2 index 97c490b..16444ae 100644 --- a/example/Jamfile.v2 +++ b/example/Jamfile.v2 @@ -6,6 +6,10 @@ # bring in the rules for testing import testing ; +project : requirements + /boost/type_traits//boost_type_traits + ; + #run static_assert_example_1.cpp ; run static_assert_example_2.cpp ; run static_assert_example_3.cpp ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index e4dbe77..4a2169a 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -6,6 +6,10 @@ # bring in the rules for testing import testing ; +project : requirements + /boost/type_traits//boost_type_traits + ; + run static_assert_test.cpp ; compile-fail static_assert_test_fail_1.cpp ; compile-fail static_assert_test_fail_2.cpp ;