mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 20:17:21 +02:00
Make the library modular usable.
This commit is contained in:
29
build.jam
Normal file
29
build.jam
Normal file
@ -0,0 +1,29 @@
|
||||
# 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/optional
|
||||
: common-requirements
|
||||
<source>/boost/assert//boost_assert
|
||||
<source>/boost/config//boost_config
|
||||
<source>/boost/core//boost_core
|
||||
<source>/boost/detail//boost_detail
|
||||
<source>/boost/move//boost_move
|
||||
<source>/boost/predef//boost_predef
|
||||
<source>/boost/static_assert//boost_static_assert
|
||||
<source>/boost/throw_exception//boost_throw_exception
|
||||
<source>/boost/type_traits//boost_type_traits
|
||||
<source>/boost/utility//boost_utility
|
||||
<include>include
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_optional ]
|
||||
[ alias all : boost_optional test ]
|
||||
;
|
||||
|
||||
call-if : boost-library optional
|
||||
;
|
@ -15,7 +15,7 @@
|
||||
|
||||
import testing ;
|
||||
|
||||
run optional_test.cpp ;
|
||||
run optional_test.cpp : : : <source>/boost/bind//boost_bind <source>/boost/mpl//boost_mpl ;
|
||||
run optional_test_assign.cpp ;
|
||||
run optional_test_swap.cpp ;
|
||||
compile optional_test_wuninitialized.cpp ;
|
||||
@ -27,7 +27,7 @@ run optional_test_make_optional.cpp ;
|
||||
run optional_test_flat_map.cpp ;
|
||||
run optional_test_hash.cpp ;
|
||||
run optional_test_map.cpp ;
|
||||
run optional_test_tie.cpp ;
|
||||
run optional_test_tie.cpp : : : <source>/boost/tuple//boost_tuple ;
|
||||
run optional_test_ref_assign_portable_minimum.cpp ;
|
||||
run optional_test_ref_assign_mutable_int.cpp ;
|
||||
run optional_test_ref_assign_const_int.cpp ;
|
||||
|
Reference in New Issue
Block a user