MantisBT - CMake
View Issue Details
0016025CMakeCMakepublic2016-03-18 10:042016-06-10 14:31
Yury Zhuravlev 
Kitware Robot 
normalfeaturealways
closedmoved 
Visual Studio 14 Win64Windows10
CMake 3.5 
 
0016025: Add support WINDOWS_EXPORT_ALL_SYMBOLS for executable exports lib
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.
No tags attached.
Issue History
2016-03-18 10:04Yury ZhuravlevNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042966
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042966)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.