2019-12-08 19:33:48 +02:00
|
|
|
# Boost ThrowException Library test Jamfile
|
2014-06-03 01:52:12 +03:00
|
|
|
#
|
|
|
|
# Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
|
2019-12-08 19:33:48 +02:00
|
|
|
# Copyright 2019 Peter Dimov
|
2014-06-03 01:52:12 +03:00
|
|
|
#
|
|
|
|
# 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 testing ;
|
|
|
|
|
2019-12-08 20:55:42 +02:00
|
|
|
project : requirements
|
|
|
|
<warnings>extra
|
|
|
|
<toolset>msvc:<warnings-as-errors>on
|
|
|
|
<toolset>clang:<warnings-as-errors>on
|
|
|
|
<toolset>gcc:<warnings-as-errors>on
|
|
|
|
<toolset>gcc:<cxxflags>-Wshadow ;
|
2019-12-08 19:33:48 +02:00
|
|
|
|
2014-06-03 19:46:35 +03:00
|
|
|
run throw_exception_test.cpp ;
|
|
|
|
run throw_exception_no_exceptions_test.cpp ;
|
|
|
|
run throw_exception_no_integration_test.cpp ;
|
|
|
|
run throw_exception_no_both_test.cpp ;
|
2014-06-03 01:52:12 +03:00
|
|
|
|
2019-12-28 18:44:22 +02:00
|
|
|
compile-fail throw_exception_fail.cpp
|
|
|
|
: <warnings-as-errors>off ;
|
2018-09-25 20:55:04 +03:00
|
|
|
|
2018-09-27 07:10:41 +03:00
|
|
|
run throw_exception_test2.cpp ;
|
2018-09-27 07:15:53 +03:00
|
|
|
run throw_exception_test3.cpp ;
|
2018-09-27 08:26:29 +03:00
|
|
|
run throw_exception_test4.cpp ;
|
2019-11-30 20:22:32 +02:00
|
|
|
run throw_exception_test5.cpp ;
|
2018-09-27 07:10:41 +03:00
|
|
|
|
2018-09-25 20:55:04 +03:00
|
|
|
lib lib1_throw : lib1_throw.cpp : <define>LIB1_SOURCE=1 <link>shared:<define>LIB1_DYN_LINK=1 : : <link>shared:<define>LIB1_DYN_LINK=1 ;
|
|
|
|
lib lib2_throw : lib2_throw.cpp : <define>LIB2_SOURCE=1 <link>shared:<define>LIB2_DYN_LINK=1 : : <link>shared:<define>LIB2_DYN_LINK=1 ;
|
|
|
|
lib lib3_throw : lib3_throw.cpp : <define>LIB3_SOURCE=1 <link>shared:<define>LIB3_DYN_LINK=1 : : <link>shared:<define>LIB3_DYN_LINK=1 ;
|
|
|
|
|
|
|
|
run throw_from_library_test.cpp lib1_throw lib2_throw lib3_throw : : : <link>static : throw_from_library_static ;
|
|
|
|
run throw_from_library_test.cpp lib1_throw lib2_throw lib3_throw : : : <link>shared : throw_from_library_shared ;
|
2019-11-26 02:57:18 +02:00
|
|
|
|
|
|
|
run throw_exception_nx_test.cpp : : : <exception-handling>off ;
|
|
|
|
run throw_exception_nx_test2.cpp : : : <exception-handling>off ;
|
2020-12-20 02:03:11 +02:00
|
|
|
run throw_exception_nx_test3.cpp : : : <exception-handling>off ;
|
2020-12-19 14:58:04 +02:00
|
|
|
|
|
|
|
run make_exception_ptr_test.cpp ;
|
2020-12-19 15:00:18 +02:00
|
|
|
run make_exception_ptr_test2.cpp ;
|
2020-12-20 02:03:11 +02:00
|
|
|
|
|
|
|
run make_exception_ptr_nx_test.cpp : : : <exception-handling>off ;
|
|
|
|
run make_exception_ptr_nx_test2.cpp : : : <exception-handling>off ;
|