[Boost-bugs] [Boost C++ Libraries] #3676: Jamfile filesystem lib

Subject: [Boost-bugs] [Boost C++ Libraries] #3676: Jamfile filesystem lib
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-26 16:58:04


#3676: Jamfile filesystem lib
--------------------------------------+-------------------------------------
 Reporter: mczernecki@… | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: filesystem
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
--------------------------------------+-------------------------------------
 Hi.

 Filesystem library depends on system library, so that it would be great if
 Jamfile for filesystem contains usage-requirement that point to the system
 library so that it is automatically taken into consideration during
 linking shared libraries (of course when using boost.build for the own
 project)

 Now if one wants to use filesystem library (in case of linking to shared
 library) one need to link explicitly also system library.

 If system library is added to usage-requirements (of project or target) in
 filesystem Jamfile, then one only need to point filesystem as direct
 dependency and system library will be linked automaticaly based on usage-
 requirements.

 It also will cause that install-dependencies feature will work correctly
 and when install-dependencies is on then it will atomatically install
 system library for filesystem library users (dependants).

 I attached two versions of changed Jamfile.
 One with usage-requirement added to project and one with usage-
 requirements added to target. Both are good enough and both works.

 Best Regards.
 Michal.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3676>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC