Make the library modular usable.

This commit is contained in:
Rene Rivera 2024-03-11 08:38:17 -05:00
parent a17ffc25d3
commit 7958b78d45
2 changed files with 26 additions and 2 deletions

19
build.jam Normal file
View File

@ -0,0 +1,19 @@
# 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/lambda2
: common-requirements
<include>include
;
explicit
[ alias boost_lambda2 ]
[ alias all : boost_lambda2 test ]
;
call-if : boost-library lambda2
;

View File

@ -2,10 +2,14 @@
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
import-search /boost/config/checks ;
import testing ;
import ../../config/checks/config : requires ;
import config : requires ;
project : requirements
<source>/boost/config//boost_config
<source>/boost/core//boost_core
<warnings>extra
@ -13,7 +17,8 @@ project : requirements
<toolset>msvc:<warnings-as-errors>on
<toolset>clang:<warnings-as-errors>on
<toolset>gcc:<warnings-as-errors>on ;
<toolset>gcc:<warnings-as-errors>on
;
run quick.cpp ;
run lambda2_test.cpp ;