Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-03-10 03:46:53


Volodya wrote:
> > Pedro Lamarão escreveu:
> > > Has anyone tried to add support to the .NET SDK or Mono?
> > > I'm studying how to best accomplish this, maybe someone could give me
> > > some pointers.
> >
> > The following hack adds support for .cs files compiled with csc.exe to
> > the msvc toolset. The first file is a patch to msvc.jam, the other is a
> > new CS type in cs.jam.
> >
> > It translates no features yet, but compiles a simple EXE or LIB project.
> >
> > My goal is to produce two targets, dotnet (.NET SDK, not Visual C#) and
> > mono, with proper auto-detection and feature support.
>
> Unless I'm mistaken, Reece was working on .NET support. Reece, can you tell
> what's the status of that, and what do you think of the current patch by
> Pedro?

I tried to get .net support working and managed to get a simple console app running using either C#, J# or VB.NET. However, I haven't looked at this for some time now. Also I haven't looked at Pedro's patch yet, so I can't comment.

One thing I will note is that the C# support should be separate from the msvc toolset as they are two different compilers tagretting different languages. My idea is that you would have a _net.jam (or more preferable a dotnet.jam file) that registers the intermediate types and then a cs.jam, js.jam and vbnet.jam that provide support for the C#, J# and VB.NET languages. I am looking at adding support in msvc for targetting the CLI framework (either the older managed C++ or the new, proposed "C++/CLI") -- this could then pull in the CLI related features (assembly includes, etc.).

I will have a look at the patch and comment on it later.

- Reece
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk