Skip to content

Generate .def file for executable target

Yury Zhuravlev requested to merge stalkerg/cmake:exports_for_exec into master

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.

Merge request reports