mirror of
https://github.com/boostorg/filesystem.git
synced 2026-01-19 04:12:09 +00:00
* Make the library modular usable. * Use searched-lib targets for external/OS/Windows libraries to avoid trying to refer to mangled names for them. And hence failing to find them. * Use the OS temp dir for creating test dir to avoid putting dirs in random location based on where one runs tests from. * Switch to library requirements instead of source. As source puts extra source in install targets. * Updated dependencies. * Add missing NO_LIB usage requirements. * Add missing import-search for cconfig/predef checks. * Add requires-b2 check to top-level build file. * Bump B2 require to 5.2 * Change all <source> references to <library>. * Update copyright dates. * Move inter-lib dependencies to a project variable and into the build targets. * Split b2 dependencies into public and private. * Undo temp dir for test change. * Make winapi dep target-os specific. And remove direct atomic dep as it is already handled by conditional rule. * Remove bug targets from all build as that's not a regular project.
33 lines
853 B
Plaintext
33 lines
853 B
Plaintext
# Copyright René Ferdinand Rivera Morell 2023-2024
|
|
# 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)
|
|
|
|
require-b2 5.2 ;
|
|
|
|
constant boost_dependencies :
|
|
/boost/assert//boost_assert
|
|
/boost/config//boost_config
|
|
/boost/container_hash//boost_container_hash
|
|
/boost/detail//boost_detail
|
|
/boost/io//boost_io
|
|
/boost/iterator//boost_iterator
|
|
/boost/smart_ptr//boost_smart_ptr
|
|
/boost/system//boost_system
|
|
/boost/type_traits//boost_type_traits ;
|
|
|
|
project /boost/filesystem
|
|
: common-requirements
|
|
<include>include
|
|
;
|
|
|
|
explicit
|
|
[ alias boost_filesystem : build//boost_filesystem ]
|
|
[ alias all : boost_filesystem example test ]
|
|
;
|
|
|
|
call-if : boost-library filesystem
|
|
: install boost_filesystem
|
|
;
|
|
|