Windows DLL with ALL symbols of dependent static libs

If I use the $<LINK_LIBRARY:WHOLE_ARCHIVE,lib> option, I can see that the library is included in the linker options (also using /INCREMENTAL:NO), but still, no symbol is generated in the exports.def file.