View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016018CMakeCMakepublic2016-03-14 13:412016-06-10 14:31
Reporterabductor 
Assigned ToKitware Robot 
PriorityimmediateSeverityblockReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSWindowsOS Version
Product VersionCMake 3.4.1 
Target VersionFixed in Version 
Summary0016018: macros CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS don't work
Descriptionclass consist static member and method.

macros CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS don't export this method and member out dll/lib
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0040709)
Andreas Schuh (reporter)
2016-03-17 07:30
edited on: 2016-03-17 07:30

Have a look at the Kitware blog post about the new CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS feature.

It clarifies that this does not work for static and global data members. You still have to use the export macros generated by the GenerateExportHeader module for these, or hide static member variables in static getter functions. It's all explained in the blog post:

https://blog.kitware.com/create-dlls-on-windows-without-declspec-using-new-cmake-export-all-feature/ [^]

(0040765)
abductor (reporter)
2016-03-28 16:16

thanks
(0042965)
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-14 13:41 abductor New Issue
2016-03-17 07:30 Andreas Schuh Note Added: 0040709
2016-03-17 07:30 Andreas Schuh Note Edited: 0040709
2016-03-28 16:16 abductor Note Added: 0040765
2016-06-10 14:29 Kitware Robot Note Added: 0042965
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