Converting from Imake!

Joey Mukherjee <[email protected]> Tue, 26 Apr 2005 10:50:19 -0500
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Hello!

I am currently comparing aap, SCons, and others trying to convert from 
our dated Imake system.  According to the aap webpage, everything Imake 
can do, aap can do and I'm trying to put it to the test!

Anyway, here's a list of my needs:

1) Define our own targets.  We currently do a "make release", "make 
testing", etc... which we would like to preserve the functionality of 
even if unportable.  I just need these to work on Solaris.
2) Build shared/static libraries, preferably simulataneously or without 
having to change a whole lot)
3) Work across Unix, Windows, Mac
4) Generate native programs in all environments
5) Or generate X11 programs in all environments
6) Lets me change one file (we had a special .rules file with Imake) 
and have all the changes propagated down
7) Support Qt
8) Supports lex and yacc
9) Let me define how I build a Tcl program
10) Multiple targets, one file, one directory.
11) Hierarchical build from top down, or from any of the subdirs 
without issue (preferably without strange command line args).

Can aap do all of this?  I think it can, but if someone knows where I 
might run into problems, I'd love to hear it!

I've been trying and I've got a special aap file that I include in all 
files so that (6) seems to work.  I've also got it building 
shared/static libs (2) pretty nicely.  What I can't get is 11!  I 
thought that would be the easiest, but either I can't grok the docs or 
it really can't do this!  My main.aap at the top level is:

:include SDDAS.aap

:child libant/main.aap
:child libPromote/main.aap

I just want it to go into all the subdirectories and do an aap!  I feel 
like there is something I'm missing somewhere that makes this easy.  If 
you are familiar with qmake, it has a subdirs keyword.  With Imake, it 
was IHaveSubdirs.  What is it with aap?

Also, is there a way to force the build/output dir to something?  Turn 
off logfiles?

Thanks,
Joey



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix