File tree Expand file tree Collapse file tree 9 files changed +48
-12
lines changed Expand file tree Collapse file tree 9 files changed +48
-12
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright René Ferdinand Rivera Morell 2023-2024
2
+ # 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)
5
+
6
+ require-b2 5.2 ;
7
+
8
+ constant boost_dependencies :
9
+ /boost/assert//boost_assert
10
+ /boost/config//boost_config
11
+ /boost/context//boost_context
12
+ /boost/core//boost_core
13
+ /boost/exception//boost_exception
14
+ /boost/move//boost_move
15
+ /boost/system//boost_system
16
+ /boost/throw_exception//boost_throw_exception
17
+ /boost/type_traits//boost_type_traits
18
+ /boost/utility//boost_utility ;
19
+
20
+ project /boost/coroutine
21
+ : common-requirements
22
+ <include>include
23
+ ;
24
+
25
+ explicit
26
+ [ alias boost_coroutine : build//boost_coroutine ]
27
+ [ alias all : boost_coroutine test ]
28
+ ;
29
+
30
+ call-if : boost-library coroutine
31
+ : install boost_coroutine
32
+ ;
33
+
Original file line number Diff line number Diff line change 7
7
import feature ;
8
8
import modules ;
9
9
import toolset ;
10
+ import-search /boost/context ;
11
+ import boost-context-features ;
10
12
11
- project boost/coroutine
13
+ project
14
+ : common-requirements <library>$(boost_dependencies)
12
15
: requirements
13
16
<library>/boost/context//boost_context
14
17
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
@@ -19,6 +22,7 @@ project boost/coroutine
19
22
<define>BOOST_COROUTINES_SOURCE
20
23
: usage-requirements
21
24
<link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
25
+ <define>BOOST_COROUTINES_NO_LIB=1
22
26
: source-location ../src
23
27
;
24
28
@@ -37,7 +41,5 @@ lib boost_coroutine
37
41
: detail/coroutine_context.cpp
38
42
exceptions.cpp
39
43
stack_traits_sources
40
- : <link>shared:<library>../.. /context/build //boost_context
44
+ : <link>shared:<library>/boost /context//boost_context
41
45
;
42
-
43
- boost-install boost_coroutine ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import modules ;
14
14
import os ;
15
15
import toolset ;
16
16
17
- project boost/coroutine/example/asymmetric
17
+ project
18
18
: requirements
19
19
<library>/boost/context//boost_context
20
20
<library>/boost/coroutine//boost_coroutine
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import modules ;
14
14
import os ;
15
15
import toolset ;
16
16
17
- project boost/coroutine/example/symmetric
17
+ project
18
18
: requirements
19
19
<library>/boost/context//boost_context
20
20
<library>/boost/coroutine//boost_coroutine
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import modules ;
13
13
import os ;
14
14
import toolset ;
15
15
16
- project boost/coroutine/performance/asymmetric
16
+ project
17
17
: requirements
18
18
<library>/boost/chrono//boost_chrono
19
19
<library>/boost/context//boost_context
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import modules ;
13
13
import os ;
14
14
import toolset ;
15
15
16
- project boost/coroutine/performance/segmented
16
+ project
17
17
: requirements
18
18
<library>/boost/chrono//boost_chrono
19
19
<library>/boost/context//boost_context
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import modules ;
13
13
import os ;
14
14
import toolset ;
15
15
16
- project boost/coroutine/performance/symmetric
16
+ project
17
17
: requirements
18
18
<library>/boost/chrono//boost_chrono
19
19
<library>/boost/context//boost_context
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import modules ;
13
13
import os ;
14
14
import toolset ;
15
15
16
- project boost/coroutine/performance/segmented
16
+ project
17
17
: requirements
18
18
<library>/boost/chrono//boost_chrono
19
19
<library>/boost/context//boost_context
Original file line number Diff line number Diff line change @@ -13,12 +13,13 @@ import os ;
13
13
import testing ;
14
14
import toolset ;
15
15
16
- project boost/coroutine/test
16
+ project
17
17
: requirements
18
18
<library>/boost/context//boost_context
19
19
<library>/boost/coroutine//boost_coroutine
20
+ <library>/boost/foreach//boost_foreach
20
21
<library>/boost/program_options//boost_program_options
21
- <library>/boost/test/// boost_unit_test_framework
22
+ <library>/boost/test//boost_unit_test_framework
22
23
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
23
24
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
24
25
<toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
You can’t perform that action at this time.
0 commit comments