Re: [Boost-bugs] [Boost C++ Libraries] #7163: Issue in glob rule when invoked in <conditional>.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7163: Issue in glob rule when invoked in <conditional>.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-29 16:04:08


#7163: Issue in glob rule when invoked in <conditional>.
---------------------------------------------------------+------------------
  Reporter: Dmitriy Kinoshenko <dvb.kharkov@…> | Owner: vladimir_prus
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: build
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords: bjam glob <conditional>
---------------------------------------------------------+------------------
Changes (by jurko):

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

Comment:

 The issue has been solved by not allowing the global project level glob()
 rule after Boost Build's module loading phase. That rule globs from the
 folder containing the 'last/currently loaded project module' and since
 conditional rules get triggered only after the module loading phase has
 has been completed - it was 'accidentally' using some 'last loaded'
 project module.

 Latest trunk Boost Build version will actually report a clean/readable
 error message in this case.

 Use one of the globbing rules from the path.jam module that allow you to
 specify the folder you want to GLOB.

 Hope this helps.

 Best regards,
   Jurko Gospodnetić

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7163#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:50:10 UTC