# 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) lib ws2_32 ; lib shell32 ; lib Advapi32 ; lib Ntdll ; lib user32 ; lib Bcrypt ; project : requirements /boost/process//boost_process 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:-lpthread freebsd:-lkvm bsd:-lpthread bsd:-lkvm netbsd:-lpthread netbsd:-lkvm openbsd:-lpthread openbsd:-lkvm solaris:-lpthread solaris:-lkvm NT,cw:ws2_32 NT,gcc:ws2_32 NT,gcc:Bcrypt /boost/test//included ; import testing ; exe target : target.cpp : off windows:shell32 windows:Ntdll ; local test_impl = test_impl.cpp /boost/process//boost_process /boost/test//boost_unit_test_framework ; 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 ] ;