[cmake-developers] ExternalProject: Use native paths as substitute for directory tokens

Brad King brad.king at kitware.com
Thu Aug 27 11:18:36 EDT 2015


On 08/27/2015 10:06 AM, James Johnston wrote:
> I would vote naming it TO_NATIVE_PATH instead of PATH_FOR_SHELL, for
> consistency with the existing parameter in the file command.

The file(TO_NATIVE_PATH) command is hopelessly ill-defined:

 http://www.cmake.org/Bug/view.php?id=5939

See also existing discussion about a genex for such conversions:

 http://www.cmake.org/Bug/view.php?id=15509

-Brad



More information about the cmake-developers mailing list