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. #111

Merged
merged 9 commits into from
Sep 27, 2024
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/hana//boost_hana
/boost/preprocessor//boost_preprocessor
/boost/type_index//boost_type_index ;

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

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

call-if : boost-library yap
;

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

}

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

install images_standalone : [ glob *.png ] : <location>html/yap/img ;
explicit images_standalone ;
Expand Down
2 changes: 2 additions & 0 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt

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

project
: requirements
<library>/boost/yap//boost_yap
[ requires
cxx14_constexpr
cxx14_decltype_auto
Expand Down
Loading