diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..82e26b0 --- /dev/null +++ b/build.jam @@ -0,0 +1,25 @@ +# 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/system + : common-requirements + /boost/assert//boost_assert + /boost/config//boost_config + /boost/throw_exception//boost_throw_exception + /boost/variant2//boost_variant2 + /boost/winapi//boost_winapi + include + ; + +explicit + [ alias boost_system : build//boost_system ] + [ alias all : boost_system test ] + ; + +call-if : boost-library system + : install boost_system + ; diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index dcef696..903d9d5 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -7,7 +7,7 @@ # See library home page at https://www.boost.org/libs/system -project boost/system +project : source-location ../src : usage-requirements # pass these requirement to dependents (i.e. users) shared:BOOST_SYSTEM_DYN_LINK=1 @@ -21,5 +21,3 @@ lib boost_system : shared:BOOST_SYSTEM_DYN_LINK=1 static:BOOST_SYSTEM_STATIC_LINK=1 ; - -boost-install boost_system ; diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 8e3e5a8..4dfaecc 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -17,6 +17,8 @@ project : requirements + /boost/core//boost_core + msvc:on gcc:on clang:on