mirror of
https://github.com/boostorg/lambda2.git
synced 2025-05-10 09:43:52 +00:00
Make the library modular usable.
This commit is contained in:
parent
a17ffc25d3
commit
7958b78d45
19
build.jam
Normal file
19
build.jam
Normal 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
|
||||||
|
;
|
@ -2,10 +2,14 @@
|
|||||||
# Distributed under the Boost Software License, Version 1.0.
|
# Distributed under the Boost Software License, Version 1.0.
|
||||||
# https://www.boost.org/LICENSE_1_0.txt
|
# https://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
|
import-search /boost/config/checks ;
|
||||||
|
|
||||||
import testing ;
|
import testing ;
|
||||||
import ../../config/checks/config : requires ;
|
import config : requires ;
|
||||||
|
|
||||||
project : requirements
|
project : requirements
|
||||||
|
<source>/boost/config//boost_config
|
||||||
|
<source>/boost/core//boost_core
|
||||||
|
|
||||||
<warnings>extra
|
<warnings>extra
|
||||||
|
|
||||||
@ -13,7 +17,8 @@ project : requirements
|
|||||||
|
|
||||||
<toolset>msvc:<warnings-as-errors>on
|
<toolset>msvc:<warnings-as-errors>on
|
||||||
<toolset>clang:<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 quick.cpp ;
|
||||||
run lambda2_test.cpp ;
|
run lambda2_test.cpp ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user