Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / filesystem / build / Jamfile.v2
1 # Boost Filesystem Library Build Jamfile
2
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
6
7 # See library home page at http://www.boost.org/libs/filesystem
8
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
15     ;
16
17 SOURCES =
18     codecvt_error_category
19     exception
20     directory
21     operations
22     path
23     path_traits
24     portability
25     unique_path
26     utf8_codecvt_facet
27     windows_file_codecvt
28     ;
29
30 lib boost_filesystem
31     : $(SOURCES).cpp
32     : <define>BOOST_FILESYSTEM_SOURCE
33       <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
34       <link>static:<define>BOOST_FILESYSTEM_STATIC_LINK=1
35     :
36     :
37     ;
38
39 boost-install boost_filesystem ;