[Mono-devel-list] Build system
peter at newton.cx
Thu May 22 20:55:26 EDT 2003
On Thu, 2003-05-22 at 20:21, Miguel de Icaza wrote:
> * We need probably help from Peter here, but I want to be able
> to define at the toplevel a set of MCS flags to pass, like:
> -d:CORE -d:NET_1_1, etc.
If you're going to use make I don't think there are any really good ways
to have a variable (MCS_FLAGS or whatever) that is changable and
relevant at all points in the build tree.
For example, you can do MCS_FLAGS = -d:foo in your toplevel makefile,
$(MAKE) -C $$subdir MCS_FLAGS=$(MCS_FLAGS)
whenever you invoke make recursively, but then if you run it in a
subdirectory the variable will be blank.
might work but then you'd need to do this every time and make -e might
have side effects.
It might make sense to move to Automake; that would propagate variables
about as well as can be done and it wouldn't be that hard to integrate
C# compilation, I think, using a few included makefiles (a la
Or it might be fun to write a build tool in C#...
Peter Williams peter at newton.cx
"[Ninjas] are cool; and by cool, I mean totally sweet."
-- REAL Ultimate Power
More information about the Mono-devel-list