2
0
mirror of https://github.com/boostorg/format.git synced 2026-01-19 04:12:10 +00:00
Files
format/build.jam
René Ferdinand Rivera Morell f700da0dc9 Add support for modular build structure. (#102)
* Make the library modular usable.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing lib reference.

* Add requires-b2 check to top-level build file.

* Bump B2 require to 5.2

* Change all <source> references to <library>.

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Update build deps.
2025-01-01 18:28:09 -05:00

38 lines
901 B
Plaintext

# 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/core//boost_core
/boost/optional//boost_optional
/boost/smart_ptr//boost_smart_ptr
/boost/throw_exception//boost_throw_exception
/boost/utility//boost_utility ;
project /boost/format
: common-requirements
<include>include
;
explicit
[ alias boost_format : : : : <library>$(boost_dependencies) ]
[ alias all
: boost_format
benchmark
example
test
tools
: <warnings>pedantic
<warnings-as-errors>on
]
;
call-if : boost-library format
;