Make the library modular usable.

This commit is contained in:
Rene Rivera
2024-03-11 08:27:02 -05:00
parent 9fbfdcb357
commit e18818ec06
2 changed files with 26 additions and 0 deletions

21
build.jam Normal file
View File

@@ -0,0 +1,21 @@
# Copyright René Ferdinand Rivera Morell 2023
# 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)
import project ;
project /boost/bind
: common-requirements
<source>/boost/config//boost_config
<source>/boost/core//boost_core
<include>include
;
explicit
[ alias boost_bind ]
[ alias all : boost_bind test ]
;
call-if : boost-library bind
;

View File

@@ -26,6 +26,11 @@ project
<toolset>clang:<cxxflags>$(gcc-flags)
;
project : requirements
<source>/boost/smart_ptr//boost_smart_ptr
<source>/boost/function//boost_function
;
# quick test (for CI)
run quick.cpp ;