Boost logo

Boost-Build :

From: Hassan Mehmet (hassan_mehmet_at_[hidden])
Date: 2007-01-19 09:09:54

Vladimir Prus <ghost <at>> writes:

> Sorry, if you need C# version, then you don't get CPP files. I think C++ and
C# are completely
> different languages.

> >
> > actions swig-csharp { swig -c++ -csharp -Iinclude -o $(<) $(>) }
> >
> You did not indicate what syntax in Jamfile you want. If you just want to be
> able to convert SWIG files into C# files, using:
> cs whatever : whatever.swig ;

Sorry for the delay, I thought I'd better follow up on this to avoid any
confusion. Just for info

swig -c++ -csharp -Iinclude -o $(<) $(>)

generates a C++ wrapper file and C# classes. The main target is C++ not C#

see swig for more details ;-)

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at