# Copyright (c) 2024 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 ; import feature ; import ../../config/checks/config : requires ; project : requirements BOOST_ASIO_NO_DEPRECATED msvc:_SCL_SECURE_NO_WARNINGS msvc:_CRT_SECURE_NO_DEPRECATE msvc:/bigobj windows:WIN32_LEAN_AND_MEAN linux:-lpthread : source-location ../src ; feature.feature boost.process.fs : boost std : propagated composite ; feature.compose std : BOOST_PROCESS_USE_STD_FS=1 ; alias process_sources : detail/environment_posix.cpp detail/environment_win.cpp detail/last_error.cpp detail/process_handle_windows.cpp detail/throw_error.cpp detail/utf8.cpp ext/cmd.cpp ext/cwd.cpp ext/env.cpp ext/exe.cpp ext/proc_info.cpp posix/close_handles.cpp windows/default_launcher.cpp environment.cpp error.cpp pid.cpp shell.cpp ; if [ os.name ] = NT { lib shell32 ; lib Advapi32 ; lib Ntdll ; lib user32 ; } lib boost_process : process_sources : requirements BOOST_PROCESS_SOURCE=1 shared:BOOST_PROCESS_DYN_LINK=1 boost:/boost//filesystem windows:shell32 windows:user32 windows:Ntdll windows:Advapi32 : usage-requirements shared:BOOST_PROCESS_DYN_LINK=1 boost:/boost//filesystem ; boost-install boost_process ;