Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-05-22 12:46:22


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'.

- Volodya


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