
on Tue May 22 2007, Vladimir Prus
David Abrahams wrote:
on Tue May 22 2007, Thorsten Ottosen
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.feature.... 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