cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use cons with other lang's than c/c++


From: rick . croote
Subject: Re: how to use cons with other lang's than c/c++
Date: Tue, 5 Oct 2004 17:19:10 -0700


Ronny,

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.

---
Rick Croote
Software Engineer
Environment and Tools Team
Philips Medical Systems
Bothell, WA
address@hidden
Phone: 425-487-7834








Malcolm Blaney <address@hidden>

Sent by:
address@hidden

10/04/2004 08:15 PM

       
        To:        Ronny Pfannschmidt <address@hidden>
        cc:        address@hidden
(bcc: Rick Croote/ATL-BTL/MS/PHILIPS)

        Subject:        Re: how to use cons with other lang's than c/c++

        Classification:        




Hi Ronny,

Cons::Plus will help,
http://lists.gnu.org/archive/html/cons-discuss/2001-04/msg00008.html

but SCons has it built in from scratch if you want to use python.

Malcolm.

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
>
>
> _______________________________________________
> address@hidden
> http://lists.gnu.org/mailman/listinfo/cons-discuss
> Cons URL: http://www.dsmit.com/cons/


_______________________________________________
address@hidden
http://lists.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]