[Mono-list] Build to intermediate file?
Miguel de Icaza
miguel@ximian.com
25 Jul 2002 13:18:01 -0400
> Is it possible to build a C# file to some sort of intermediate
> > format which can linked into a final module, like the traditional
> > .c -> .o -> .so path? I'm trying to integrate C# into an existing
> > C++ project, and I'm having some trouble getting the build scripts
> > to work properly. I could treat the whole C# build as a link step,
> > but if no files get built, then the link step never gets run.
> >
You could do:
mcs /target:module file1.cs
mcs /target:module file2.cs
mcs /target:exe file1.dll file2.dll /out:mybin.exe
Miguel.