Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-02-02 11:51:06


   Hi DrAnony.

> - run myConverter on file1.icd
> - This produces two cpp and h files, which don't have the same name as the
> input file
> - Take all the cpp files and compile them into a library
>
> [...many lines snipped here...]
>
> On the first pass, bjam will run the converter on all the icd files. I
> can't figure out how to add another entry or change things so that it simply
> runs the converter and then does a glob *.cpp.

   I do not think I directly saw support for such 'second pass'
generated target detection and am not really sure how that would work.
What folder should it scan for 'all .cpp files'? And should it assume
that all files found there are the ones generated by your converter?

   Why can you not simply state the names of files generated by your
converter?

   I guess you could be trying to automate your build using a tool that
takes a folder as a parameter and generates an unspecified number of
files there with unspecified names and then have the build system
automatically try to use those files as sources 'as best as possible'...
YMMV but seems a bit far-fetched to me...

   Best regards,
     Jurko Gospodnetić


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