# 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 ; if [ os.name ] = NT { lib ws2_32 ; lib shell32 ; lib Advapi32 ; lib Ntdll ; lib user32 ; } project : requirements BOOST_ASIO_NO_DEPRECATED msvc:_SCL_SECURE_NO_WARNINGS msvc:_CRT_SECURE_NO_DEPRECATE msvc:/bigobj windows:WIN32_LEAN_AND_MEAN windows:_WIN32_WINNT=0x0601 linux:-lpthread freebsd:-lutil freebsd:-lkvm freebsd:-lprocstat bsd:-lkvm NT,cw:ws2_32 NT,gcc:ws2_32 BOOST_PROCESS_V2_SEPARATE_COMPILATION=1 ; import testing ; alias filesystem : /boost//filesystem : static ; exe target : target.cpp : off windows:shell32 windows:Ntdll ; lib header_test : header_1.cpp header_2.cpp : BOOST_PROCESS_V2_HEADER_ONLY=1 ; lib test_impl : test_impl.cpp filesystem : BOOST_PROCESS_V2_SEPARATE_COMPILATION=1 BOOST_TEST_IGNORE_SIGCHLD=1 static windows:shell32 windows:user32 windows:Ntdll windows:Advapi32 ; test-suite standalone : [ run utf8.cpp test_impl ] [ run cstring_ref.cpp test_impl ] [ run environment.cpp test_impl ] [ run shell.cpp test_impl ] ; test-suite with_target : [ run pid.cpp test_impl : --log_level=all --catch_system_errors=no -- : target ] [ run process.cpp test_impl : --log_level=all --catch_system_errors=no -- : target ] [ run windows.cpp test_impl : --log_level=all --catch_system_errors=no -- : target : no windows:yes windows:Advapi32 ] [ run ext.cpp test_impl : --log_level=all --catch_system_errors=no -- : target : darwin:no ] ;