Update build.jam, build/Jamfile, test/Jamfile

This commit is contained in:
Peter Dimov
2024-08-28 02:08:51 +03:00
parent 19bcfebf37
commit 40bdcea2e5
3 changed files with 13 additions and 22 deletions

View File

@ -1,7 +1,7 @@
# Copyright René Ferdinand Rivera Morell 2023-2024 # Copyright 2023-2024 René Ferdinand Rivera Morell
# Copyright 2024 Peter Dimov
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at # https://www.boost.org/LICENSE_1_0.txt
# http://www.boost.org/LICENSE_1_0.txt)
require-b2 5.2 ; require-b2 5.2 ;
@ -10,13 +10,11 @@ constant boost_dependencies :
/boost/config//boost_config /boost/config//boost_config
/boost/throw_exception//boost_throw_exception /boost/throw_exception//boost_throw_exception
/boost/variant2//boost_variant2 /boost/variant2//boost_variant2
/boost/winapi//boost_winapi ; /boost/winapi//boost_winapi
project /boost/system
: common-requirements
<include>include
; ;
project /boost/system ;
explicit explicit
[ alias boost_system : build//boost_system ] [ alias boost_system : build//boost_system ]
[ alias all : boost_system test ] [ alias all : boost_system test ]
@ -25,4 +23,3 @@ explicit
call-if : boost-library system call-if : boost-library system
: install boost_system : install boost_system
; ;

View File

@ -1,16 +1,15 @@
# Boost System Library Build Jamfile # Boost System Library Build Jamfile
# Copyright 2002, 2006 Beman Dawes
# (C) Copyright Beman Dawes 2002, 2006 # Copyright 2024 Peter Dimov
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) # https://www.boost.org/LICENSE_1_0.txt
# See library home page at https://www.boost.org/libs/system # See library home page at https://www.boost.org/libs/system
project project
: source-location ../src : common-requirements
: common-requirements <library>$(boost_dependencies) <include>../include
: usage-requirements # pass these requirement to dependents (i.e. users) <library>$(boost_dependencies)
<link>shared:<define>BOOST_SYSTEM_DYN_LINK=1 <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1 <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
<define>BOOST_SYSTEM_NO_LIB=1 <define>BOOST_SYSTEM_NO_LIB=1
@ -18,8 +17,4 @@ project
SOURCES = error_code ; SOURCES = error_code ;
lib boost_system lib boost_system : ../src/$(SOURCES).cpp ;
: $(SOURCES).cpp
: <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
;

View File

@ -18,7 +18,6 @@ project
: requirements : requirements
<library>/boost/system//boost_system <library>/boost/system//boost_system
<library>/boost/core//boost_core <library>/boost/core//boost_core
<toolset>msvc:<warnings-as-errors>on <toolset>msvc:<warnings-as-errors>on