Aleksey Bragin wrote:
why can't .spec be used for this purpose (extended to support msvc files
generation)?
I would also prefer using .spec files as we already have them in all Wine modules and they contain all the information we need.
But for generating .def files out of them, it's probably easier to write a new .spec to .def file converter from scratch instead of trying to change/fork winebuild. Winebuild currently contains many options we don't need and probably will never need (like generating assembly code for non-Win32 compilers) and it also shares host and target headers. A new implementation should be much more lightweight.
Regards,
Colin