MantisBT - CMake
View Issue Details
0014180CMakeCMakepublic2013-05-30 12:252013-12-02 08:51
mwoehlke 
Stephen Kelly 
normalfeatureN/A
closedfixed 
CMake 2.8.11 
CMake 2.8.12 
0014180: Add SYSTEM support to target_includ_directories
It would be greate if target_include_directories (both for the direct target, and propagated to subsequent users via target usage requirements) supported marking include directories as SYSTEM. This is especially important when using strict warnings-as-errors for compiling local code in the presence of third-party (or even libc/stl) headers that trigger the same.
Offhand guess at the easiest way to implement this would be to recognize SYSTEM and something else ('LOCAL'?) as keywords in the includes list to toggle if include directories are marked as system or not.
No tags attached.
Issue History
2013-05-30 12:25mwoehlkeNew Issue
2013-05-30 19:18Stephen KellyAssigned To => Stephen Kelly
2013-05-30 19:18Stephen KellyStatusnew => backlog
2013-05-30 19:19Stephen KellyNote Added: 0033158
2013-07-02 03:28Gregor JasnyNote Added: 0033446
2013-07-16 18:28Stephen KellyNote Added: 0033561
2013-07-16 18:28Stephen KellyStatusbacklog => resolved
2013-07-16 18:28Stephen KellyFixed in Version => CMake 2.8.12
2013-07-16 18:28Stephen KellyResolutionopen => fixed
2013-12-02 08:51Robert MaynardNote Added: 0034648
2013-12-02 08:51Robert MaynardStatusresolved => closed

Notes
(0033158)
Stephen Kelly   
2013-05-30 19:19   
It used to, but the feature was removed due to incompleteness. I still have the branch, and I think it's possible to complete it.
(0033446)
Gregor Jasny   
2013-07-02 03:28   
That feature would be very helpful to me. If you need testers I'd be glad to help.
(0033561)
Stephen Kelly   
2013-07-16 18:28   
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1925cffa [^]
(0034648)
Robert Maynard   
2013-12-02 08:51   
Closing resolved issues that have not been updated in more than 4 months.