2
0
mirror of https://github.com/boostorg/cobalt.git synced 2026-01-27 06:42:19 +00:00
Files
cobalt/test/Jamfile.jam
2024-04-23 23:03:04 +08:00

35 lines
1010 B
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 ;
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//unit_test_framework :
<link>static
;
run main.cpp /boost//cobalt ;
run main_compile.cpp /boost//cobalt util.cpp concepts.cpp ;
for local src in [ glob *.cpp : main.cpp main_compile.cpp test_main.cpp concepts.cpp util.cpp ]
{
run $(src) test_impl ;
}
run experimental/context.cpp test_impl //boost/context ;