[Mono-dev] [PATCH] Source list per profile

Zoltan Varga vargaz at gmail.com
Sat Aug 13 06:57:22 EDT 2005


                                                  Hi,

   The current solution might not be elegant, but it is simple, and it
works just fine.
So I would vote for keeping it.

                         Zoltan

On 8/11/05, Ynon Koralek <ynonk at mainsoft.com> wrote:
>  
>  
> 
> Hello, 
> 
>   
> 
> When building the libraries, each profile requires different source files
> especially with the "java" profile. 
> 
> That problem is solved today (for net_2_0) using #ifdef <PROFILE_NAME>
> enclosing the whole content of files but this solution is not IMHO very
> elegant. 
> 
>   
> 
> The solution we suggest is to use an .xml file which defines which source
> files need to be compiled for each profile. 
> 
> A new enclosed tool called gensourcelist creates a source file list from
> this xml file specific for the profile currently built. 
> 
>   
> 
> The included patch includes this tool, and the needed modifications of the
> Makefiles in order to build it and use it. 
> 
> We included also the xml file needed to replace System.Data.dll.sources 
> 
>   
> 
> Please comment on the whole mechanism and let us know what you think about
> it. 
> 
>   
> 
> Ynon 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> 
>



More information about the Mono-devel-list mailing list