1 # Boost Filesystem Library Build Jamfile
3 # (C) Copyright Beman Dawes 2002-2006
4 # Distributed under the Boost Software License, Version 1.0.
5 # See www.boost.org/LICENSE_1_0.txt
7 # See library home page at http://www.boost.org/libs/filesystem
9 project boost/filesystem
10 : requirements <host-os>hpux,<toolset>gcc:<define>_INCLUDE_STDC__SOURCE_199901
11 : source-location ../src
12 : usage-requirements # pass these requirement to dependents (i.e. users)
13 <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
14 <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
18 codecvt_error_category
29 : $(SOURCES).cpp ../../system/build//boost_system
30 : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
31 <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
33 : # Boost.Filesystem uses some of Boost.System functions in inlined/templated
34 # functions, so clients that use Boost.Filesystem will have direct references
35 # to Boost.System symbols. On Windows, Darwin, and some other platforms, this
36 # means those clients have to be directly linked to Boost.System. For static
37 # linking this happens anyway, but for shared we need to make it happen. Since
38 # doing so is harmless even when not needed, we do it for all platforms.
39 <link>shared:<library>../../system/build//boost_system
42 boost-install boost_filesystem ;