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

Ynon Koralek ynonk at mainsoft.com
Thu Aug 11 13:20:16 EDT 2005



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


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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050811/24c54265/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gensourcelist.diff
Type: application/octet-stream
Size: 5373 bytes
Desc: gensourcelist.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050811/24c54265/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.Xml.dll.sources.xml
Type: text/xml
Size: 15341 bytes
Desc: System.Xml.dll.sources.xml
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050811/24c54265/attachment.xml 

More information about the Mono-devel-list mailing list