View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016025CMakeCMakepublic2016-03-18 10:042016-06-10 14:31
ReporterYury Zhuravlev 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformVisual Studio 14 Win64OSWindowsOS Version10
Product VersionCMake 3.5 
Target VersionFixed in Version 
Summary0016025: Add support WINDOWS_EXPORT_ALL_SYMBOLS for executable exports lib
DescriptionFor 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042966)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2016-03-18 10:04 Yury Zhuravlev New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042966
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team