Re: [Boost-bugs] [Boost C++ Libraries] #2054: tests that DEPEND on a library in a project that is MODULAR don't compile

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2054: tests that DEPEND on a library in a project that is MODULAR don't compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-02 10:06:26


#2054: tests that DEPEND on a library in a project that is MODULAR don't compile
-----------------------------------+----------------------------------------
  Reporter: troy | Owner: troy
      Type: Bugs | Status: closed
 Milestone: Boost 1.36.0 | Component: CMake
   Version: Boost Release Branch | Severity: Problem
Resolution: invalid | Keywords:
-----------------------------------+----------------------------------------
Changes (by troy):

  * status: new => closed
  * resolution: => invalid

Comment:

 If a library L is marked MODULAR in its boost_library_project, its headers
 should be in (top)/libs/L/include/boost, not (top)/boost.

 If a library M needs L to compile, *both* L and M need to have
 module.cmake files. L's could look like
 {{{
 boost_module(L)
 }}}
 if it has no further dependencies, but M's will need
 {{{
 boost_module(M DEPENDS L)
 }}}
 and this is how M will get the correct path to L's headers. Link
 dependencies are different,
 they are handled in boost_add_library(...). This is a little disjoint at
 the moment.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2054#comment:2>
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:49:58 UTC