diff --git a/Jamfile b/Jamfile deleted file mode 100644 index c55393e3..00000000 --- a/Jamfile +++ /dev/null @@ -1,11 +0,0 @@ -# Boost.Container Library Jamfile -# -# Copyright (c) 2018 Ion Gaztanaga -# -# 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) - -# please order by name to ease maintenance -build-project example ; -build-project test ; diff --git a/build.jam b/build.jam new file mode 100644 index 00000000..ebaf273a --- /dev/null +++ b/build.jam @@ -0,0 +1,27 @@ +# 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/intrusive//boost_intrusive + /boost/move//boost_move ; + +project /boost/container + : common-requirements + include + ; + +explicit + [ alias boost_container : build//boost_container ] + [ alias all : boost_container example test ] + ; + +call-if : boost-library container + : install boost_container + ; + diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 3adb451c..f8c672b1 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -6,11 +6,13 @@ import sequence ; -project boost/container +project : source-location ../src + : common-requirements $(boost_dependencies) : usage-requirements # pass these requirement to dependents (i.e. users) shared:BOOST_CONTAINER_DYN_LINK=1 static:BOOST_CONTAINER_STATIC_LINK=1 + BOOST_CONTAINER_NO_LIB=1 ; lib boost_container @@ -18,5 +20,3 @@ lib boost_container : shared:BOOST_CONTAINER_DYN_LINK=1 static:BOOST_CONTAINER_STATIC_LINK=1 ; - -boost-install boost_container ; \ No newline at end of file diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index e4ff8c82..5aabf3a6 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -17,8 +17,8 @@ path-constant here : . ; doxygen autodoc : - [ glob ../../../boost/container/*.hpp ] - [ glob ../../../boost/container/pmr/*.hpp ] + [ glob ../include/boost/container/*.hpp ] + [ glob ../include/boost/container/pmr/*.hpp ] : EXTRACT_ALL=NO HIDE_UNDOC_MEMBERS=YES diff --git a/example/Jamfile.v2 b/example/Jamfile.v2 index 0ba75ac4..a3766b9e 100644 --- a/example/Jamfile.v2 +++ b/example/Jamfile.v2 @@ -11,6 +11,8 @@ # 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 testing ; + # this rule enumerates through all the sources and invokes # the run rule for each source, the result is a list of all # the run rules, which we can pass on to the test_suite rule: diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 2b4995be..42e07b84 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -12,8 +12,12 @@ # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) project - : requirements - shared:BOOST_CONTAINER_DYN_LINK=1 + : requirements + /boost/iterator//boost_iterator + /boost/utility//boost_utility + /boost/tuple//boost_tuple + + shared:BOOST_CONTAINER_DYN_LINK=1 gcc-cygwin:static ;