[cmake-developers] find PATHS issues on Windows when Linux OS files are accessible

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Oct 15 15:02:54 EDT 2013


On 2013-10-15 10:21-0400 Brad King wrote:

> On 10/14/2013 02:22 PM, Alan W. Irwin wrote:
>> Therefore, I think a good compromise would be to provide both of these
>> possibilities to users, with the first one being used by default, but
>> with the second one used instead if a specific variable or property
>> (called, say, IGNORE_PATHS_WITHOUT_DRIVE_LETTERS) is set to true on
>> Windows platforms.
>
> Okay, please open an issue tracker entry for this with a link back
> to the list archive for this thread.
>
> The change will be a bit more involved because there can be sources
> of search paths besides the hard-coded PATHS options that produce
> UNIX-style paths.  Also network paths "//machine/share/..." should
> still work.  A better description may be "unrooted" paths which can
> be interpreted on each platform to mean "paths without a root
> component recognized by the host operating system".
>

Hi Brad:

There are actually two issues I have identified. Therefore I have made
two bug reports; http://public.kitware.com/Bug/view.php?id=14485 (the
less controversial one which I think is probably a no-brainer) and
http://public.kitware.com/Bug/view.php?id=14486 (the
IGNORE_UNROOTED_SEARCH_PATHS one).

Please let me know when these issues have been addressed, and I would
be happy to test the results on a Windows platform (Wine) where the
Linux OS file hierarchy is automatically accessible as a drive letter.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________



More information about the cmake-developers mailing list