Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:38:17 -05:00
committed by Jim King
parent cf94735c87
commit b78b93f047
3 changed files with 47 additions and 25 deletions

10
Jamfile
View File

@@ -1,10 +0,0 @@
# Boost.PtrContainer Library Jamfile
#
# Copyright (c) 2018 James E. King III
#
# 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 test ;

32
build.jam Normal file
View File

@@ -0,0 +1,32 @@
# 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/ptr_container
: common-requirements
<source>/boost/array//boost_array
<source>/boost/assert//boost_assert
<source>/boost/circular_buffer//boost_circular_buffer
<source>/boost/config//boost_config
<source>/boost/core//boost_core
<source>/boost/iterator//boost_iterator
<source>/boost/mpl//boost_mpl
<source>/boost/range//boost_range
<source>/boost/smart_ptr//boost_smart_ptr
<source>/boost/static_assert//boost_static_assert
<source>/boost/type_traits//boost_type_traits
<source>/boost/unordered//boost_unordered
<source>/boost/utility//boost_utility
<include>include
;
explicit
[ alias boost_ptr_container ]
[ alias all : boost_ptr_container test ]
;
call-if : boost-library ptr_container
;

View File

@@ -13,26 +13,26 @@ import testing ;
project : requirements <library>/boost/test//boost_unit_test_framework/<link>static ;
run ptr_inserter.cpp ;
run ptr_vector.cpp ;
run ptr_list.cpp ;
run ptr_deque.cpp ;
run ptr_set.cpp ;
run ptr_map.cpp ;
run ptr_map_adapter.cpp ;
run ptr_array.cpp ;
run tree_test.cpp ;
run incomplete_type_test.cpp ;
run ptr_inserter.cpp /boost/assign//boost_assign ;
run ptr_vector.cpp /boost/assign//boost_assign /boost/lexical_cast//boost_lexical_cast ;
run ptr_list.cpp /boost/assign//boost_assign /boost/lexical_cast//boost_lexical_cast ;
run ptr_deque.cpp /boost/assign//boost_assign /boost/lexical_cast//boost_lexical_cast ;
run ptr_set.cpp /boost/lexical_cast//boost_lexical_cast ;
run ptr_map.cpp /boost/lexical_cast//boost_lexical_cast ;
run ptr_map_adapter.cpp /boost/lexical_cast//boost_lexical_cast ;
run ptr_array.cpp /boost/lexical_cast//boost_lexical_cast ;
run tree_test.cpp /boost/lexical_cast//boost_lexical_cast ;
run incomplete_type_test.cpp /boost/lexical_cast//boost_lexical_cast ;
run view_example.cpp ;
run iterator_test.cpp ;
run tut1.cpp ;
run indirect_fun.cpp ;
run indirect_fun.cpp /boost/assign//boost_assign ;
run serialization.cpp /boost/serialization//boost_serialization : : : <undefined-sanitizer>norecover:<build>no ;
run no_exceptions.cpp ;
run no_exceptions.cpp /boost/assign//boost_assign /boost/lexical_cast//boost_lexical_cast ;
run ptr_unordered_set.cpp ;
run ptr_unordered_map.cpp ;
run ptr_circular_buffer.cpp ;
run ptr_unordered_set.cpp /boost/lexical_cast//boost_lexical_cast ;
run ptr_unordered_map.cpp /boost/lexical_cast//boost_lexical_cast ;
run ptr_circular_buffer.cpp /boost/assign//boost_assign /boost/lexical_cast//boost_lexical_cast ;
compile const_element_containers.cpp ;
compile issue_23.cpp ;