mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-11 13:34:08 +00:00
Make the library modular usable.
This commit is contained in:
parent
b8f1065f7f
commit
1a411b9984
22
build.jam
Normal file
22
build.jam
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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/coroutine2
|
||||||
|
: common-requirements
|
||||||
|
<source>/boost/assert//boost_assert
|
||||||
|
<source>/boost/config//boost_config
|
||||||
|
<source>/boost/context//boost_context
|
||||||
|
<include>include
|
||||||
|
;
|
||||||
|
|
||||||
|
explicit
|
||||||
|
[ alias boost_coroutine2 ]
|
||||||
|
[ alias all : boost_coroutine2 example test ]
|
||||||
|
;
|
||||||
|
|
||||||
|
call-if : boost-library coroutine2
|
||||||
|
;
|
@ -13,7 +13,7 @@ import modules ;
|
|||||||
import os ;
|
import os ;
|
||||||
import toolset ;
|
import toolset ;
|
||||||
|
|
||||||
project boost/coroutine2/example
|
project
|
||||||
: requirements
|
: requirements
|
||||||
<library>/boost/context//boost_context
|
<library>/boost/context//boost_context
|
||||||
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
|
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
|
||||||
|
@ -12,11 +12,11 @@ import os ;
|
|||||||
import path ;
|
import path ;
|
||||||
import testing ;
|
import testing ;
|
||||||
import toolset ;
|
import toolset ;
|
||||||
import ../../config/checks/config : requires ;
|
import config : requires ;
|
||||||
|
|
||||||
project boost/coroutine2/test
|
project
|
||||||
: requirements
|
: requirements
|
||||||
<library>../../test/build//boost_unit_test_framework
|
<library>/boost/test//boost_unit_test_framework
|
||||||
<library>/boost/context//boost_context
|
<library>/boost/context//boost_context
|
||||||
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
|
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
|
||||||
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
|
<target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user