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

Merged
merged 8 commits into from
Aug 19, 2024
32 changes: 32 additions & 0 deletions build.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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/config//boost_config
/boost/static_assert//boost_static_assert ;

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

explicit
[ alias boost_type_traits : : : : <library>$(boost_dependencies) ]
[ alias all : boost_type_traits test ]
# Other Boost lib tests depend on the type_traits test checks.
[ alias testing
: # sources
: # requirements
: # default-buidl
: # usage-requirements
<include>test
]
;

call-if : boost-library type_traits
;

6 changes: 3 additions & 3 deletions doc/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ boostbook standalone
# Index generation:
# Path for links to Boost:
<xsl:param>boost.root=../../../..

# Some general style settings:
<xsl:param>table.footnote.number.format=1
<xsl:param>footnote.number.format=1
Expand All @@ -36,7 +36,7 @@ boostbook standalone
<xsl:param>toc.max.depth=4
# How far down we go with TOC's
<xsl:param>generate.section.toc.level=10

# PDF Options:
# TOC Generation: this is needed for FOP-0.9 and later:
<xsl:param>fop1.extensions=0
Expand All @@ -62,7 +62,7 @@ boostbook standalone
<format>pdf:<auto-index-internal>off
<format>html:<auto-index-internal>on
<auto-index-script>$(here)/index.idx
<auto-index-prefix>$(here)/../../..
<auto-index-prefix>$(here)/../include
<auto-index>on
;

Expand Down
4 changes: 4 additions & 0 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [ os.environ CI ]
# regular

project : requirements
<library>/boost/core//boost_core
<library>/boost/move//boost_move
<library>/boost/mpl//boost_mpl

# default to all warnings on:
<warnings>all
# set warnings as errors for those compilers we know we get warning free:
Expand Down
Loading