
on Wed May 23 2007, Vladimir Prus
David Abrahams wrote:
on Tue May 22 2007, Vladimir Prus
wrote: 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 '-'
What do you mean? Property can never start with '-'
I meant "argument," not "property."
or the part after '=' doesn't start with '/'
I shall look into that. Note that "/" has special significance in build request, per docs, but we probably can improve diagnostics.
Yeah, but having no way to escape a character with special significance is really bad. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com