Redistributable Libre for windows

I would like to compile the source for a windows project.
I need to use the Microsoft compiler in order to do this. Libre already does this because they distribute an installable windows version.

I would like to know how that is done. The cygwin/gcc solution will not work because it doesn’t allow me to include Libre in a redistributable project.

I would like to know how Libre creates their distributable windows package.

Compile

This is done using cygwin, GNU make, perl script preparing MSI tables that will be fed to msidb, file list for makecab invocation, etc.

See solenv - OpenGrok cross reference for /core/solenv/
and scp2 - OpenGrok cross reference for /core/scp2/