Re: Regression in action selection functionality in version 1.068
Lars Ivar Igesund <[email protected]> Sat, 07 Aug 2004 21:03:09 +0100
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
The attached patch fix my problems. I hope you plan to tell me how to change the d code if your changes were intentional :) Lars Ivar Igesund Lars Ivar Igesund wrote: > The same happens with both :lib and :dll. I will try to look into it > myself. > > Lars Ivar Igesund > > Lars Ivar Igesund wrote: > >> Hmm, it seems like some problems from earlier has popped up again. >> This time it manifested while building a static lib (which worked >> properly before I updated from CVS). After compiling my d files, it >> tries to link them using the default action in default.aap instead of >> heeding the buildaction attribute that was added when compiling. >> >> Lars Ivar Igesund >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by OSTG. Have you noticed the changes on >> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >> one more big change to announce. We are now OSTG- Open Source Technology >> Group. Come see the changes on the new OSTG site. www.ostg.com >> _______________________________________________ >> A-A-P-develop mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/a-a-p-develop >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > A-A-P-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/a-a-p-develop > >
default.diff
(text/plain, 2.4 KB)
Index: default.aap
===================================================================
RCS file: /cvsroot/a-a-p/Exec/default.aap,v
retrieving revision 1.62
diff -u -r1.62 default.aap
--- default.aap 7 Jul 2004 08:58:05 -0000 1.62
+++ default.aap 7 Aug 2004 18:55:25 -0000
@@ -276,7 +276,7 @@
define_action("compile", 1, """
@if not _no.get("target"):
target = `src2obj(fname, sufname = "DLLOBJSUF")`
- :attr {builddllaction = cxx_builddll} $target # Need to build with $CXX
+ :attr {buildaction = cxx_builddll} $target # Need to build with $CXX
@if DEFER_ACTION_NAME:
:do $DEFER_ACTION_NAME {target = $target} $source
@else:
@@ -291,7 +291,7 @@
:rule {default} %$DLLOBJSUF : {buildcheck = $($)CXX $($)CPPFLAGS
$($)?DEFINE $($)?INCLUDE $($)CXXFLAGS $($)DLLCXXFLAGS} %.cpp
>always
- :attr {builddllaction = cxx_builddll} $target # Need to build with $CXX
+ :attr {buildaction = cxx_builddll} $target # Need to build with $CXX
>build
:do compile {target = $target} $source
@@ -461,7 +461,7 @@
""",
outtypes = ["default"],
intypes = ["libobject", "object", "default"],
- defer_var_names = ["BUILDLIB_ACTION", "{buildlibaction}"])
+ defer_var_names = ["BUILDLIB_ACTION", "{buildaction}"])
@else:
AR ?= ar
ARFLAGS ?= r
@@ -480,7 +480,7 @@
""",
outtypes = ["default"],
intypes = ["libobject", "object", "default"],
- defer_var_names = ["BUILDLIB_ACTION", "{buildlibaction}"])
+ defer_var_names = ["BUILDLIB_ACTION", "{buildaction}"])
# :do builddll
@@ -498,7 +498,7 @@
""",
outtypes = ["default"],
intypes = ["dllobject", "default"],
- defer_var_names = ["BUILDDLL_ACTION", "{builddllaction}"])
+ defer_var_names = ["BUILDDLL_ACTION", "{buildaction}"])
:python
# TODO: Is this correct?
@@ -523,7 +523,7 @@
""",
outtypes = ["default"],
intypes = ["dllobject", "default"],
- defer_var_names = ["BUILDDLL_ACTION", "{builddllaction}"])
+ defer_var_names = ["BUILDDLL_ACTION", "{buildaction}"])
CXXSHLINK ?= $CXX
CXXSHLINKFLAGS ?= -shared