Re: Regression in action selection functionality in version 1.068
Lars Ivar Igesund <[email protected]> Sun, 29 Aug 2004 22:32:41 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
I can't find the discussion in question, but I don't doubt the need for the change. I'm just fairly certain that it hasn't been said that I had to do the changes supplied in the attached patch for my previously working code to continue to work. As it was, I had to do a lot of testing and tracing to find out why my code (that worked perfectly just days earlier) had stopped working. Anyway, it works now (when using the attached patch to d.aap). Lars Ivar Igesund Bram Moolenaar wrote: > Lars Ivar Igesund wrote: > > >>That is possibly a correct patch, but the problem is still present with >>it. Most likely because I haven't changed d.aap to use the >>builddllaction and buildlibaction attributes. (which I can, I just >>haven't been told that they're needed.) > > > This was discussed a while ago. Just using one "buildaction" attribute > doesn't work in specific situations. We need separate attributes for > dll and lib production. >
d.diff
(text/plain, 1 KB)
Index: d.aap
===================================================================
RCS file: /cvsroot/a-a-p/Exec/modules/d.aap,v
retrieving revision 1.15
diff -u -r1.15 d.aap
--- d.aap 21 Jun 2004 12:22:59 -0000 1.15
+++ d.aap 29 Aug 2004 20:19:58 -0000
@@ -79,7 +79,7 @@
:action depend {recursive}
{buildcheck = $DCOMP $?DFLAGS $?DVERSION $?DDEBUG $?DIMPORT } d
- :sys $_top.DDEPCHECK -m $?DIMPORT $source > $target
+ :sys $_top.DDEPCHECK -m $?DIMPORT $?DVERSION $?DDEBUG $source > $target
# :do compile
@@ -91,9 +91,9 @@
@if _no.targettype == "object":
:attr {buildaction = d_build} $target
@elif _no.targettype == "libobject":
- :attr {buildaction = d_buildlib} $target
+ :attr {buildlibaction = d_buildlib} $target
@elif _no.targettype == "dllobject":
- :attr {buildaction = d_builddll} $target
+ :attr {builddllaction = d_builddll} $target
@if DEFER_ACTION_NAME:
:do $DEFER_ACTION_NAME {target = $target} $source
@else: