Re: Dependency on object files
Lars Ivar Igesund <[email protected]> Wed, 25 Feb 2004 22:52:29 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Bram Moolenaar wrote:
> Aap doesn't automatically add a dependency for items in $LIBS. If you
> do want to rebuild foo.exe when a library changes, you need to add that
> dependency in the recipe.
Ok, now I've tried this. I added
foo : bar
after
:program foo : foo.d
and this leads to aap trying to relink foo.exe when bar.lib has changed.
The problem is that aap don't know that foo.exe is the result of some
d files and thus needs to be linked with d_build -> build_dmd, and
instead build_msvc is used. I suppose it is possible to specify the
build action to use somehow, but stuff like
:attr {buildaction = $D_BUILD_ACTION } foo
don't work.
Lars Ivar Igesund
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click