Skip to content

Commit 40bdcea

Browse files
committed
Update build.jam, build/Jamfile, test/Jamfile
1 parent 19bcfeb commit 40bdcea

File tree

3 files changed

+13
-22
lines changed

3 files changed

+13
-22
lines changed

build.jam

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Copyright René Ferdinand Rivera Morell 2023-2024
1+
# Copyright 2023-2024 René Ferdinand Rivera Morell
2+
# Copyright 2024 Peter Dimov
23
# Distributed under the Boost Software License, Version 1.0.
3-
# (See accompanying file LICENSE_1_0.txt or copy at
4-
# http://www.boost.org/LICENSE_1_0.txt)
4+
# https://www.boost.org/LICENSE_1_0.txt
55

66
require-b2 5.2 ;
77

@@ -10,13 +10,11 @@ constant boost_dependencies :
1010
/boost/config//boost_config
1111
/boost/throw_exception//boost_throw_exception
1212
/boost/variant2//boost_variant2
13-
/boost/winapi//boost_winapi ;
14-
15-
project /boost/system
16-
: common-requirements
17-
<include>include
13+
/boost/winapi//boost_winapi
1814
;
1915

16+
project /boost/system ;
17+
2018
explicit
2119
[ alias boost_system : build//boost_system ]
2220
[ alias all : boost_system test ]
@@ -25,4 +23,3 @@ explicit
2523
call-if : boost-library system
2624
: install boost_system
2725
;
28-

build/Jamfile.v2

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
# Boost System Library Build Jamfile
2-
3-
# (C) Copyright Beman Dawes 2002, 2006
4-
2+
# Copyright 2002, 2006 Beman Dawes
3+
# Copyright 2024 Peter Dimov
54
# Distributed under the Boost Software License, Version 1.0.
6-
# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
5+
# https://www.boost.org/LICENSE_1_0.txt
76

87
# See library home page at https://www.boost.org/libs/system
98

109
project
11-
: source-location ../src
12-
: common-requirements <library>$(boost_dependencies)
13-
: usage-requirements # pass these requirement to dependents (i.e. users)
10+
: common-requirements
11+
<include>../include
12+
<library>$(boost_dependencies)
1413
<link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
1514
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
1615
<define>BOOST_SYSTEM_NO_LIB=1
1716
;
1817

1918
SOURCES = error_code ;
2019

21-
lib boost_system
22-
: $(SOURCES).cpp
23-
: <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
24-
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
25-
;
20+
lib boost_system : ../src/$(SOURCES).cpp ;

test/Jamfile.v2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ project
1818
: requirements
1919

2020
<library>/boost/system//boost_system
21-
2221
<library>/boost/core//boost_core
2322

2423
<toolset>msvc:<warnings-as-errors>on

0 commit comments

Comments
 (0)