Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-01-04 14:49:14


generators.register-standard verbatim.inline-file : VERBATIM : CPP ;

declares a generator that converts VERBATIM files into CPP files. But
if we want to declare a cpp file to be generated, we might write:

cpp foo : foo.verbatim ;

The .cpp target is on the left and the .verbatim target is on the right.
I find this difference somewhat confusing. I definitely got the
order wrong the first time I declared a generator. It's a weird
property of build systems that targets go on the left and sources go on
the right. It might be a good idea to stick to that convention.

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

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