55# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
66#
77
8+ require-b2 5.0.1 ;
9+ import-search /boost/config/checks ;
10+
811import os ;
912import path ;
1013import feature ;
1114import ac ;
1215import indirect ;
13- import ../config/checks/ config : requires ;
16+ import config : requires ;
1417
15- project /boost/mysql/test ;
18+ project : requirements <library> /boost/mysql//boost_mysql ;
1619
1720# Support header-only builds
1821feature.feature boost.mysql.separate-compilation : on off : propagated composite ;
@@ -43,7 +46,7 @@ alias fail_if_no_openssl
4346explicit fail_if_no_openssl ;
4447
4548# Requirements to use across targets
46- local requirements =
49+ local requirements =
4750 <define>BOOST_ALL_NO_LIB=1
4851 <define>BOOST_ASIO_NO_DEPRECATED=1
4952 <define>BOOST_ASIO_DISABLE_BOOST_ARRAY=1
@@ -53,7 +56,7 @@ local requirements =
5356 <define>BOOST_ASIO_DISABLE_BOOST_COROUTINE=1
5457 <define>BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS=1
5558 <define>BOOST_ALLOW_DEPRECATED_HEADERS=1
56- # Disable warning C4702: unreachable code, produced by Boost.Asio buffer.hpp
59+ # Disable warning C4702: unreachable code, produced by Boost.Asio buffer.hpp
5760 <toolset>msvc:<cxxflags>"/bigobj /wd4702 /permissive-"
5861 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
5962 <toolset>msvc:<define>_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING
@@ -68,7 +71,6 @@ local requirements =
6871 <target-os>linux:<define>_XOPEN_SOURCE=600
6972 <target-os>linux:<define>_GNU_SOURCE=1
7073 <target-os>windows:<define>_WIN32_WINNT=0x0601
71- <include>../include
7274 <boost.mysql.use-ts-executor>on:<define>BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT
7375 # Disable assertions when doing coverage, as they distort coverage data
7476 <coverage>on:<define>BOOST_DISABLE_ASSERTS
0 commit comments