[cmake-developers] [CMake 0015509]: CMake needs a generator expression equivalent to TO_NATIVE_PATH.

Mantis Bug Tracker mantis at public.kitware.com
Fri Apr 10 15:18:08 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15509 
====================================================================== 
Reported By:                Cedric Guerin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15509
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-04-10 15:18 EDT
Last Modified:              2015-04-10 15:18 EDT
====================================================================== 
Summary:                    CMake needs a generator expression equivalent to
TO_NATIVE_PATH.
Description: 
Some commands which accept generator expressions also need native pathes as
arguments (typically programs parameters passed to add_custom_command on
Windows) and the conversion can't be done with the file(TO_NATIVE_PATH ...)
command since the generator expression hasn't been evaluated yet.

I have read the CONTRIBUTING.rst (but am not interested in joining the mailing
list, thank you), so feel free to use the trivial attached patch as you see fit
(it may need to be updated in light of whatever will be done in response to
http://public.kitware.com/Bug/view.php?id=5939).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-04-10 15:18 Cedric Guerin  New Issue                                    
2015-04-10 15:18 Cedric Guerin  File Added:
0001-Added-a-TO_NATIVE_PATH-generator-expression.patch                    
======================================================================



More information about the cmake-developers mailing list