diff --git a/build.jam b/build.jam new file mode 100644 index 000000000..486889cd3 --- /dev/null +++ b/build.jam @@ -0,0 +1,28 @@ +# Copyright René Ferdinand Rivera Morell 2023-2024 +# 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) + +require-b2 5.2 ; + +constant boost_dependencies : + /boost/assert//boost_assert + /boost/config//boost_config + /boost/throw_exception//boost_throw_exception + /boost/variant2//boost_variant2 + /boost/winapi//boost_winapi ; + +project /boost/system + : common-requirements + 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 dcef696fa..13d3f7923 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -7,11 +7,13 @@ # See library home page at https://www.boost.org/libs/system -project boost/system +project : source-location ../src + : common-requirements $(boost_dependencies) : usage-requirements # pass these requirement to dependents (i.e. users) shared:BOOST_SYSTEM_DYN_LINK=1 static:BOOST_SYSTEM_STATIC_LINK=1 + BOOST_SYSTEM_NO_LIB=1 ; SOURCES = error_code ; @@ -21,5 +23,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 8e3e5a8d3..7d3ae58c7 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -17,6 +17,10 @@ project : requirements + /boost/system//boost_system + + /boost/core//boost_core + msvc:on gcc:on clang:on