[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-devel-list] Build system
From:       Miguel de Icaza <miguel () ximian ! com>
Date:       2003-05-24 14:51:56
Message-ID: 1053787915.5768.16.camel () erandi ! boston ! ximian ! com
[Download RAW message or body]

Hello,

> 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,
> and have
> 
> 	$(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. 
> 
> 	export MCS_FLAGS='-d:foo'
> 	make -e
> 
> might work but then you'd need to do this every time and make -e might
> have side effects.

What about setting the MCS_FLAGS at a top-level config file?

We would then include this file during the build process.

Miguel.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic