~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/libs/filesystem/v3/build/Jamfile.v2

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
 
6
 
 
7
 
 
8
# See library home page at http://www.boost.org/libs/filesystem
 
9
 
 
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
 
14
    ;
 
15
 
 
16
SOURCES =
 
17
    operations path path_traits portability unique_path utf8_codecvt_facet windows_file_codecvt codecvt_error_category ;
 
18
 
 
19
lib boost_filesystem
 
20
    : $(SOURCES).cpp ../../system/build//boost_system
 
21
    : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1 # tell source we're building dll's
 
22
    :
 
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
 
30
    ;
 
31
 
 
32
boost-install boost_filesystem ;
 
 
b'\\ No newline at end of file'