MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015332 | CMake | CMake | public | 2015-01-01 20:45 | 2016-06-10 14:31 |
| Reporter | Ezekiel Warren | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 3.1 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015332: Feature request for giving CMake the ability to define C++11 generic attributes. | ||||
| Description | The proposed feature would allow developers to define generic attributes so that a CMake script may be ran at build time when they are encountered. A possible syntax could be similar to functions. Additionally with variables defined within function-like scope that hold information on the attribute. attribute(<name> [arg1 [arg2 [arg3 ...]]]) ${ATTRIBUTE_TYPE} # could be "class", "function", "namespace", etc. endattribute(<name>) Compilers such as gcc give the ability to write plugins that could be used to implement this feature. Other compilers may have other ways to accomplish this, but if a compiler doesn't there could be a fail safe that would require CMake to parse the code itself (not ideal.) I'm not sure if such a feature falls in CMake's scope of responsibilities, but I thought I'd get some feedback. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | c++, c++11, generic attributes | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-01-01 20:45 | Ezekiel Warren | New Issue | |||
| 2015-01-01 20:46 | Ezekiel Warren | Tag Attached: c++ | |||
| 2015-01-01 20:46 | Ezekiel Warren | Tag Attached: c++11 | |||
| 2015-01-01 20:46 | Ezekiel Warren | Tag Attached: generic attributes | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042695 | |||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||