View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012959 | CMake | Modules | public | 2012-02-13 05:41 | 2013-11-04 09:33 | ||||
Reporter | David Demelier | ||||||||
Assigned To | Stephen Kelly | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Unix | OS | FreeBSD | OS Version | 9.0 | ||||
Product Version | CMake 2.8.7 | ||||||||
Target Version | CMake 2.8.12 | Fixed in Version | CMake 2.8.12 | ||||||
Summary | 0012959: GenerateExportHeaders does not work for C | ||||||||
Description | The module GenerateExportHeader creates some defines that may works for C too, but actually the module is only intented for C++. All attributes may be used for C too, that means you can't use project(name C). | ||||||||
Steps To Reproduce | This example will not works: project(mylib C) include(GenerateExportHeader) add_compiler_export_flags() add_library(mylib mylib.c) generate_export_header(mylib) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0030049) Stephen Kelly (developer) 2012-07-16 07:39 |
I've worked on the fix for this: https://gitorious.org/~steveire/cmake/steveires-cmake/commits/generate_export_header-fixes [^] I'll finish it when development on CMake 2.8.10 opens. |
(0033245) Stephen Kelly (developer) 2013-06-05 10:22 |
This is now possible by replacing the use of add_compiler_export_flags() with set(CMAKE_C_VISIBILITY_PRESET hidden) and set(CMAKE_CXX_VISIBILITY_PRESET hidden) as appropriate, or by setting the ${lang}_VISIBILITY_PRESET property to hidden on individual targets. |
(0034365) Robert Maynard (manager) 2013-11-04 09:33 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-02-13 05:41 | David Demelier | New Issue | |
2012-02-13 09:35 | Brad King | Assigned To | => Stephen Kelly |
2012-02-13 09:35 | Brad King | Status | new => assigned |
2012-07-16 07:39 | Stephen Kelly | Note Added: 0030049 | |
2012-08-13 09:34 | Stephen Kelly | Target Version | => CMake 2.8.10 |
2012-10-01 14:19 | Stephen Kelly | Target Version | CMake 2.8.10 => CMake 2.8.11 |
2013-05-17 09:33 | Robert Maynard | Target Version | CMake 2.8.11 => CMake 2.8.12 |
2013-06-05 10:22 | Stephen Kelly | Note Added: 0033245 | |
2013-06-05 10:22 | Stephen Kelly | Status | assigned => resolved |
2013-06-05 10:22 | Stephen Kelly | Fixed in Version | => CMake 2.8.12 |
2013-06-05 10:22 | Stephen Kelly | Resolution | open => fixed |
2013-11-04 09:33 | Robert Maynard | Note Added: 0034365 | |
2013-11-04 09:33 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |