Files
local_function/build.jam
René Ferdinand Rivera Morell ff0934f6a3 Add support for modular build structure. (#12)
* Make the library modular usable.

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

* 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.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Update build deps.

* Replace GHA CI with simpler working one based on alandefreitas/cpp-actions utilities.

* Move project global include to target local include.

* Only msvc gets minor version tests.

* Redo GHA CI to undo move to cpp-actions.

* Fix non-existent containers.

* This lib now only works for C++11.

* Undo explicit g++ compiler specification.

* Move container spec up for display purpouses.
2025-06-26 17:08:36 +03:00

29 lines
759 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/config//boost_config
/boost/mpl//boost_mpl
/boost/preprocessor//boost_preprocessor
/boost/scope_exit//boost_scope_exit
/boost/type_traits//boost_type_traits
/boost/typeof//boost_typeof
/boost/utility//boost_utility ;
project /boost/local_function
;
explicit
[ alias boost_local_function : : :
: <include>include <library>$(boost_dependencies) ]
[ alias all : boost_local_function example test ]
;
call-if : boost-library local_function
;