mirror of
https://github.com/boostorg/cobalt.git
synced 2026-01-19 04:02:16 +00:00
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# Copyright (c) 2022 Klemens D. Morgenstern
|
|
#
|
|
# 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 os ;
|
|
import-search /boost/cobalt ;
|
|
import boost-cobalt ;
|
|
|
|
project : requirements
|
|
<define>BOOST_ASIO_NO_DEPRECATED
|
|
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
|
|
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
|
|
<toolset>msvc:<cxxflags>/bigobj
|
|
<target-os>windows:<define>WIN32_LEAN_AND_MEAN
|
|
<target-os>linux:<linkflags>-lpthread
|
|
<toolset>clang-15:<boost.cobalt.pmr>boost-container
|
|
<toolset>clang-14:<boost.cobalt.pmr>boost-container
|
|
;
|
|
|
|
import testing ;
|
|
|
|
lib test_impl : test_main.cpp /boost/cobalt//boost_cobalt /boost/test//boost_unit_test_framework :
|
|
<link>static
|
|
;
|
|
|
|
run main.cpp /boost/cobalt//boost_cobalt ;
|
|
run main_compile.cpp /boost/cobalt//boost_cobalt util.cpp concepts.cpp ;
|
|
|
|
for local src in [ glob *.cpp : main.cpp main_compile.cpp test_main.cpp concepts.cpp util.cpp composition.cpp ]
|
|
{
|
|
run $(src) test_impl ;
|
|
}
|
|
|
|
run experimental/context.cpp test_impl //boost/context ;
|
|
|
|
for local src in [ glob io/*.cpp ]
|
|
{
|
|
run $(src) test_impl /boost/cobalt//boost_cobalt_io /boost/cobalt//boost_cobalt ;
|
|
}
|
|
|