Files
mono/msvc/scripts/README
T
2011-02-12 22:07:05 -05:00

48 lines
1.4 KiB
Plaintext

Visual Studio Build Setup for Mono's Managed Code
=================================================
The scripts in this directory are used to create the various .csproj
for each one of the modules in Mono. To avoid accidentally making
changes on the Makefile system that is not reflected on the csproj
system, the .csproj files are generated from the actual Makefile
settings.
This requires a couple of steps:
* Extract the order, compiler and compilation flags for all
managed code in Mono on Linux by using the existing Makefile
system.
* Generate csproj files from the previous step
The idea is to ensure that we do not miss any compilation flag,
define, resource, reference, icon or any other element that might be
necessary to build the Mono class libraries.
* Extracting the Compilation Metadata
The first step is to extract the compilation metadata from the
existing Makefiles. This is done in stages, first a fully
working Mono compilation setup is required, and second the data
is extracted.
The extraction is done like this, from the toplevel Mono
directory run:
make update-csproj
With this input, it is possible to generate an XML file, to do
this do:
make package-inputs
This will generate order.xml, this contains the ordered list in
which directories must be compiled as well as the command line
options used to build it.
* Generate csproj files
Run the genproj.exe executable in this directory.