Boost logo

Boost-Build :

Subject: Re: [Boost-build] Advanced generators, chaining them together...
From: Alexander Sack (pisymbol_at_[hidden])
Date: 2009-01-20 17:40:32


On Tue, Jan 20, 2009 at 3:14 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> Alexander Sack wrote:
>>
>> Ahhh then that answers at least one of my questions, I can't create
>> new targets after updating existing ones.
>>
>> Is there a way though to just work with my foocfg.cfg file and create
>> many CPP files that could be used to link against to form a library?
>> The catch here is I also have to build the executable to process
>> foocfg.cfg file (but I started a thread about that and you had a patch
>> and Volodya gave me an example which I still have to parse and apply
>> to my situation).
>>
>
> Do you have a way to determine the names of the cpp files?
> Otherwise, you still have the issue of having to update the cpp
> files before you create the targets for them for building the library.

Yes I could definitely pass the name of the cpp file or files that it
generates (its harmless to the tool). Basically could I then create
"obj" targets for my one file and then use those obj files to link
against my main target?

-aps


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