Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-02-15 04:45:24


Joel de Guzman wrote:

>
> Vladimir Prus wrote:
>> On Tuesday 15 February 2005 03:49, Joel de Guzman wrote:
>>
>>
>>>I'm confused. What's wrong with this?
>>>
>>>exe quickbook
>>>
>>> : detail/quickbook.cpp /boost/program_options//program_options
>>> : <include>$(BOOST_ROOT)
>>>
>>> ;
>>>
>>>It's working on my copy of 1.32.0. Eric says he gets:
>>>
>>>error: Unable to find file or target named
>>>error: '/boost/program_options//program_options'
>>>error: referred from project at
>>>error: '.'
>>
>>
>> In CVS version? The problem is that in CVS version there's no code that
>> makes "/boost/program_options" valid project id. In 1.32 there were a
>> bunch of 'build-project' statements in the top-level Jamfile, but when I
>> implemented install support for V2, they were gone.
>>
>> I've just committed the attached patch which should make your example
>> working. The downside is that now a verbose message from Boost.Regex is
>> printed....
>
> Thanks. So, which is the preferred way to add a library?
>
> /boost/program_options//program_options
>
> or
>
> $(BOOST_ROOT)/libs/program_options///program_options
>
> ?

The first one, because it's less verbose and independent of directory
layout.

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk