MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0015491 | CMake | (No Category) | public | 2015-04-01 16:44 | 2016-06-10 14:31 | |||||
Reporter | Stephen Kelly | |||||||||
Assigned To | Kitware Robot | |||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||
Status | closed | Resolution | moved | |||||||
Platform | OS | OS Version | ||||||||
Product Version | ||||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0015491: First-class support for GNU -iquote, -I- and -I=opt/foo include directory specifiers | |||||||||
Description | The -iquote and -I- options relate to how the compiler treats "" versus <> includes. https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html [^] All -iquote options are processed before any -I options. A new target property and directory property and command interface could be added for it. The -I- is a divider. CMake could support it by accepting a placeholder of a magic name in the INCLUDE_DIRECTORIES property. This would need to be allowed only in non-transitive uses. https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#Invocation [^] "If dir begins with =, then the = will be replaced by the sysroot prefix; see --sysroot and -isysroot." It is possible that CMake could learn to use that. I'm not certain whether that would be useful though, as I think CMake already adds the sysroot as a prefix during generation. I have not checked other compilers for equivalent features. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2015-04-01 16:44 | Stephen Kelly | New Issue | ||||||||
2015-09-21 09:11 | Brad King | Relationship added | has duplicate 0015753 | |||||||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042750 | ||||||||
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 | |||||
|
|||||
|
|