Skip to content

Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` files

The WINDOWS_EXPORT_ALL_SYMBOLS target property exports all symbols found in object files explicitly given to the linker. However, the linker may also find additional symbols in dependencies and copy them into the linked binary (e.g. from msvcrt.lib). Provide a way to export an explicit list of such symbols by adding a .def file as a source file.

Fixes: #16473 (closed)

Merge request reports

Loading