Here at Philips Medical we do use Cons::Plus, but it isn't really helping that much in the area of adding build rules. We then inherit Cons::Plus into our own Cons::DSProject, which is for DevStudio. We have solved all problems through inheritance, at least so far.
What I've noticed is that yes you can add new build rules, but it does not add to the dependency scanning. To do that you need to run each of your files through the Command method and add a call to the QuickScan method as well, and this means do not use Cons::Plus to add your extensions. Be aware that dependency scanning of include in Cons is using the Gnu model rather than the Microsoft model, which is different when quoted includes are used.
If I were to use Cons again, from scratch, I would use only the Command and QuickScan methods. I've been telling my managers for a long time that I need to rewrite Cons into something much simpler.
On the plus side, welcome to Cons, I have issues with it sometimes, but it has been a tremendous success here, and we have found nothing yet that we would want to replace it with. Our build times and reliability are much improved, especially in the area of incremental builds.
Oh, as a note, SCons is not being considered here because it is in Python. I do have some of our developers pushing for and experimenting with PCons though for multi-process building.
Environment and Tools Team
Philips Medical Systems
Rick.Croote <at> Philips.com
Malcolm Blaney <malcolm.blaney <at> maptek.com.au>
cons-discuss-bounces+rick.croote=philips.com <at> gnu.org
10/04/2004 08:15 PM
To: Ronny Pfannschmidt <ronny.pfannschmidt <at> gmail.com>
cc: Cons-discuss <at> gnu.org
(bcc: Rick Croote/ATL-BTL/MS/PHILIPS)
Subject: Re: how to use cons with other lang's than c/c++
Cons::Plus will help,
but SCons has it built in from scratch if you want to use python.
Ronny Pfannschmidt wrote:
> i want to use cons for a project written in c, pascal and asm
> but i can't find a way to use cons for languages aside from c/c++
> mfg r0nny
> Cons-discuss <at> gnu.org
> Cons URL: http://www.dsmit.com/cons/
Cons-discuss <at> gnu.org
Cons URL: http://www.dsmit.com/cons/