Files
statechart/build.jam
René Ferdinand Rivera Morell 2b1270f7ab Add support for modular build structure. (#26)
* 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>.

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

* Update build deps.

* Move project global include to target local include.
2025-05-02 19:20:28 +03:00

33 lines
899 B
Plaintext

# Copyright René Ferdinand Rivera Morell 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/bind//boost_bind
/boost/config//boost_config
/boost/conversion//boost_conversion
/boost/core//boost_core
/boost/detail//boost_detail
/boost/function//boost_function
/boost/mpl//boost_mpl
/boost/smart_ptr//boost_smart_ptr
/boost/static_assert//boost_static_assert
/boost/thread//boost_thread
/boost/type_traits//boost_type_traits ;
project /boost/statechart
;
explicit
[ alias boost_statechart : : :
: <include>include <library>$(boost_dependencies) ]
[ alias all : boost_statechart example test ]
;
call-if : boost-library statechart
;