[cmake-developers] [CMake 0015458]: New Functionality to Restore Directory Attributes

Mantis Bug Tracker mantis at public.kitware.com
Wed Mar 18 18:32:34 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15458 
====================================================================== 
Reported By:                Axl
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15458
Category:                   CMake
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-03-18 18:32 EDT
Last Modified:              2015-03-18 18:32 EDT
====================================================================== 
Summary:                    New Functionality to Restore Directory Attributes
Description: 
As documented in a feature request in
  http://www.cmake.org/Bug/view.php?id=14415

there is currently no functionality available to restore attributes such as "is
marked as a system path" from directories, e.g., for calls to
  get_directory_property(INCLUDE_DIRECTORIES)

Being able to read such information again would be beneficial, e.g., for modules
such as FindCUDA that have to forward the include directories to a wrapped
compiler or similar.

Right now, that is not possible, causing very noisy output for warnings caused
by header files - and users of these libraries have no chance to mute them
accordingly.

Steps to Reproduce: 
For an example, see the RFE in FindCUDA
  http://www.cmake.org/Bug/view.php?id=14415
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-03-18 18:32 Axl            New Issue                                    
======================================================================



More information about the cmake-developers mailing list