Boost logo

Boost-Build :

Subject: [Boost-build] .NET toolset
From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2009-03-08 17:30:22


Hi,

I've been playing with .NET toolset for BBv2 recently (attached or
click here: http://blog.not-a-kernel-guy.com/wp-content/uploads/2009/03/dotnet.jam
) and I think it is time to get some feedback.

Basically it supports C# and VB.NET. It's only dependency is .NET
framework itself. It does not need Visual Studio to be installed. To
enable it add the following file to you site-config.jam:

using dotnet : all ;

It will find enable all installed versions of .NET framework.

It supports building of .exe and .dll:

lib carrots : carrots.cs ;
exe rabbit : rabbit.cs carrots ;

References to prebuild libraryies can be given via
<find-shared-library> and <library-path> can be used to specify their
location:

windir = [ modules.peek : windir ] ;

exe rabbit
  :
    rabbit.cs carrots
  :
    <library-path>"$(windir)/Microsoft.NET/Framework/v2.0.50727"
    <find-shared-library>System.Data.dll
    <find-shared-library>System.dll
  ;

Target platform can be specified via <architecture> and
<address-model> features. It is "anycpu" by default.

-- 
Best regards,
  Alexey Pakhunov.



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