Adding targets in a python for-loop?

Magnus Therning <[email protected]> Sun, 23 May 2004 11:19:14 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Hi!

I have briefly looked at A-A-P in an effort to compare it with SCons[1],
which I have used for quite a while. There is one thing in A-A-P that I
can't figure out how to do--adding targets in a python for-loop.

In SCons I would do something like this:

 for s in sources:
   env.Program(source = s)

Can I achieve the same in A-A-P?

/M

1. http://www.scons.org/

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
[email protected]
http://magnus.therning.org/

He who joyfully marches to music in rank and file has already earned
my contempt. He has been given a large brain by mistake, since for him
the spinal cord would fully suffice.
     -- Albert Einstein
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAsGySiMWTaatN+6QRAqTpAKDg8AFTHzKx2XII4AU/IuaKO2HwuwCeMNDx
RjFni/3QoIBd5ndYEbAemzA=
=o8K3
-----END PGP SIGNATURE-----