Generate .def file for executable target
Under MSVC we can build .lib for executable target when set ENABLE_EXPORTS but symbols not automatic exports even if we set WINDOWS_EXPORT_ALL_SYMBOLS. It's not usable when we wish access from .dll to symbols from .exe program.
This patch doing it. But I am not sure in purity of test files.
Thanks.