View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015491CMake(No Category)public2015-04-01 16:442016-06-10 14:31
ReporterStephen Kelly 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0015491: 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.
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0015753closed CMake cannot detect changes in nested header files when using '-iquote' 

  Notes
(0042750)
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
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


Copyright © 2000 - 2018 MantisBT Team