View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016018 | CMake | CMake | public | 2016-03-14 13:41 | 2016-06-10 14:31 | ||||
Reporter | abductor | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | immediate | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | Windows | OS Version | ||||||
Product Version | CMake 3.4.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016018: macros CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS don't work | ||||||||
Description | class consist static member and method. macros CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS don't export this method and member out dll/lib | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
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. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |