Add support WINDOWS_EXPORT_ALL_SYMBOLS for executable exports lib
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
For access from DLL to mother programm we need create .lib by EXPORTS
flag but without /DEF
we can't export symbols.
This code must work:
add_executable(prog1 blalba)
set_target_properties(prog1 PROPERTIES ENABLE_EXPORTS 1)
set_target_properties(prog1 PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS 1)
Now I use ugly perl script for gen .def file.
Thanks.
PS for .dll's WINDOWS_EXPORT_ALL_SYMBOLS
worked correct.