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 accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
8 # See library home page at http://www.boost.org/libs/filesystem
10 project boost/filesystem
11 : source-location ../src
12 : usage-requirements # pass these requirement to dependents (i.e. users)
13 <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
17 operations path path_traits portability unique_path utf8_codecvt_facet windows_file_codecvt codecvt_error_category ;
20 : $(SOURCES).cpp ../../system/build//boost_system
21 : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1 # tell source we're building dll's
23 : # Boost.Filesystem uses some of Boost.System functions in inlined/templated
24 # functions, so clients that use Boost.Filesystem will have direct references
25 # to Boost.System symbols. On Windows, Darwin, and some other platforms, this
26 # means those clients have to be directly linked to Boost.System. For static
27 # linking this happens anyway, but for shared we need to make it happen. Since
28 # doing so is harmless even when not needed, we do it for all platforms.
29 <link>shared:<library>../../system/build//boost_system
32 boost-install boost_filesystem ;