diff options
Diffstat (limited to 'libs/filesystem/build/Jamfile.v2')
-rw-r--r-- | libs/filesystem/build/Jamfile.v2 | 54 |
1 files changed, 17 insertions, 37 deletions
diff --git a/libs/filesystem/build/Jamfile.v2 b/libs/filesystem/build/Jamfile.v2 index 212019de57..9166ac3cab 100644 --- a/libs/filesystem/build/Jamfile.v2 +++ b/libs/filesystem/build/Jamfile.v2 @@ -2,51 +2,32 @@ # (C) Copyright Beman Dawes 2002-2006 # Distributed under the Boost Software License, Version 1.0. -# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) - +# See www.boost.org/LICENSE_1_0.txt # See library home page at http://www.boost.org/libs/filesystem project boost/filesystem - : source-location .. + : source-location ../src : usage-requirements # pass these requirement to dependents (i.e. users) <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1 + <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1 ; - -local disable-filesystem2 = [ MATCH (--disable-filesystem2) : [ modules.peek : ARGV ] ] ; -local disable-filesystem3 = [ MATCH (--disable-filesystem3) : [ modules.peek : ARGV ] ] ; - -if ! $(disable-filesystem2) -{ - if ! $(disable-filesystem3) - { - SOURCES = - v2/src/v2_operations v2/src/v2_path v2/src/v2_portability - v3/src/operations v3/src/path v3/src/portability v3/src/windows_file_codecvt - v3/src/codecvt_error_category v3/src/path_traits v3/src/unique_path - v3/src/utf8_codecvt_facet - ; - } - else - { - SOURCES = - v2/src/v2_operations v2/src/v2_path v2/src/v2_portability - v3/src/utf8_codecvt_facet # used by both v2 and v3 - ; - } -} -else -{ - SOURCES = - v3/src/operations v3/src/path v3/src/portability v3/src/windows_file_codecvt - v3/src/codecvt_error_category v3/src/path_traits v3/src/unique_path - v3/src/utf8_codecvt_facet - ; -} + +SOURCES = + codecvt_error_category + operations + path + path_traits + portability + unique_path + utf8_codecvt_facet + windows_file_codecvt + ; lib boost_filesystem : $(SOURCES).cpp ../../system/build//boost_system - : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1 # tell source we're building dll's + : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1 + <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1 : : # Boost.Filesystem uses some of Boost.System functions in inlined/templated # functions, so clients that use Boost.Filesystem will have direct references @@ -56,6 +37,5 @@ lib boost_filesystem # doing so is harmless even when not needed, we do it for all platforms. <link>shared:<library>../../system/build//boost_system ; - -boost-install boost_filesystem ;
\ No newline at end of file +boost-install boost_filesystem ; |