diff --git a/Jamfile b/Jamfile index 1ca2bef5..0df080ea 100644 --- a/Jamfile +++ b/Jamfile @@ -51,8 +51,9 @@ variant beast_ubasan path-constant TEST_MAIN : include/boost/beast/_experimental/unit_test/main.cpp ; -project /boost/beast - : requirements +project /boost/beast ; + +local defines = [ requires cxx11_constexpr cxx11_decltype @@ -60,9 +61,8 @@ project /boost/beast cxx11_template_aliases cxx11_variadic_templates ] - . - ./test/extras/include /boost//headers + . BOOST_ALL_NO_LIB=1 BOOST_BEAST_SPLIT_COMPILATION BOOST_ASIO_SEPARATE_COMPILATION @@ -87,8 +87,6 @@ project /boost/beast solaris:socket solaris:nsl windows:_WIN32_WINNT=0x0601 - windows,cw:ws2_32 - windows,cw:mswsock windows,gcc:ws2_32 windows,gcc:mswsock windows,gcc-cygwin:__USE_W32_SOCKETS @@ -96,11 +94,16 @@ project /boost/beast hpux:ipv6 qnxnto:socket haiku:network - : usage-requirements - ; + ; lib static_beast : test/lib_beast.cpp + : requirements + $(defines) + ./test/extras/include + : usage-requirements + $(defines) + ./test/extras/include ; lib static_ssl_asio @@ -109,4 +112,5 @@ lib static_ssl_asio /boost/beast//static_beast/static [ ac.check-library /boost/beast//ssl : /boost/beast//ssl/shared : no ] [ ac.check-library /boost/beast//crypto : /boost/beast//crypto/shared : no ] + : usage-requirements ;