|
Boost-Build : |
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-05-16 02:32:33
John Maddock wrote:
> Irrespective of what happens with the CMake vs BBv2 debate, it's
> apparent
> that there is still plenty of support for bbv2: indeed, I would echo
> comments that it's a pleasure to use, provided you don't need to dig
> in and
> write new rules yourself :-)
[snip]
Don't know where to add this, but one of my pet peeves would be that the
parameters to the target declarations aren't named.
When you declare a project, names are used, e.g.:
project fooprj
: requirements
<include>.
: default-build
debug release
;
But when I declare e.g. a lib or exe target I need to remember in which
positions the arguments should go:
lib foo
: foo.cpp
: <include>.
:
: <include>.
;
For a number of times I've passed my intended usage-requirements as the
default-build argument when declaring a library target, having the library
target being compiled ok and the dependent exe fail to compile or link.
I'm (almost) equally flummoxed each time this happens, as I only make the
mistake every once in a while.
/ Johan
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