Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for modular build structure. #67

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
25 changes: 25 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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/type_traits//boost_type_traits ;

project /boost/stl_interfaces
: common-requirements
<include>include
;

explicit
[ alias boost_stl_interfaces : : : : <library>$(boost_dependencies) ]
[ alias all : boost_stl_interfaces test ]
;

call-if : boost-library stl_interfaces
;

2 changes: 1 addition & 1 deletion doc/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rule run_doxygen ( files * : name : expand ? )

}

run_doxygen [ glob $(here)/../../../boost/stl_interfaces/*.hpp ] : "Headers" ;
run_doxygen [ glob $(here)/../include/boost/stl_interfaces/*.hpp ] : "Headers" ;

install images_standalone : [ glob *.png ] : <location>html/stl_interfaces/img ;
explicit images_standalone ;
Expand Down
4 changes: 3 additions & 1 deletion test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
# http://www.boost.org/LICENSE_1_0.txt)

import testing ;
import ../../config/checks/config : requires ;
import-search /boost/config/checks ;
import config : requires ;

project :
requirements
<library>/boost/core//boost_core
[ requires cxx14_constexpr ]
;

Expand Down
Loading