View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004067CMakeCMakepublic2006-11-23 01:002016-06-10 14:30
ReporterBrandon Van Every 
Assigned ToBill Hoffman 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004067: FILE(TO_WINDOWS_PATH ...)
DescriptionI would like a FILE(TO_WINDOWS_PATH ...) command. On Windows I use MSYS, Cygwin, and Windows Command Prompt shells. They all have different "native" path behavior:

command prompt - "E:\Program Files"
Cygwin shell - "/cygdrive/e/Program Files"
MSYS shell - "/e/Program Files"

Meanwhile, I typically use tools that do not necessarily understand the "native" path convention of the shell I'm using. Typically, Windows native tools do not understand Cygwin or MSYS path conventions, but they are often run in those environments. So I'd like to explicitly force a Windows native path, "E:\Program Files" .

The general problem: what's native for a SHELL is not the same as what's native for a OS. Nor do we necessarily know if a tool needs a SHELL convention, or a OS convention. The term "native" is highly ambiguous when dealing with Cygwin or MSYS.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0041332)
Kitware Robot (administrator)
2016-06-10 14:27

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
2016-06-10 14:27 Kitware Robot Note Added: 0041332
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team