Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-05-22 17:23:58


on Tue May 22 2007, Vladimir Prus <ghost-AT-cs.msu.su> wrote:

> David Abrahams wrote:
>
>>
>> on Tue May 22 2007, Thorsten Ottosen <thorsten.ottosen-AT-dezide.com>
>> wrote:
>>
>>> Rene Rivera skrev:
>>>> Christopher Lux wrote:
>>>>> hi, after reading through this thread [1] i tried the following to
>>>>> build boost::program options:
>>>>>
>>>>> bjam define=_SECURE_SCL=0 define=_TESTING_SOMTHING=1
>>>>> --toolset=msvc-8.0 --with-program_options variant=release
>>>>
>>>> There's no such features as "define"
>>>> <http://boost.org/doc/html/bbv2/reference.html#bbv2.advanced.builtins.features>.
>>>> You probably want "cflags".
>>>
>>> Does bjam warn if one puts arguments there that it does not support?
>>
>> No
>
> Heh?
>
> $ bjam foo=bar
> /home/ghost/Work/Boost/boost/tools/build/v2/build/property.jam:282: in validate1 from module property
> error: Invalid property '<foo>bar': unknown feature 'foo'.

OK, it warns as long as the property doesn't start with '-' or the part
after '=' doesn't start with '/'

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net