<div class="gmail_quote">Filing a bug sounds like a good idea. :-)<br><br>
<br>On Wed, Mar 25, 2009 at 6:02 PM, James Bigler <span dir="ltr"><<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OK, I'm not sure if I can provide a reproducing case, because I'm<br>
dealing with a large system that generates code while dynamically<br>
maintaining dependencies.<br>
<br>
I did, however, discover something when trying to narrow down the problem.<br>
<br>
If I put c:\path\to\source in "Where is the source code" box in the<br>
CMake gui, I get the problem with the inconsistent drive letters.<br>
Putting "C:\path\to\source" produces good behavior.<br>
<br>
The only way to get a lower case 'c' is to type it in by hand (perhaps<br>
from another application), because if you use the "Browse Build.."<br>
button it returns upper case drive letters.<br>
<br>
Should I file a bug to make the GUI force the drive letter to be uppercase?</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<font color="#888888"><br>
James<br>
</font><div><div></div><div class="h5"><br>
On Wed, Mar 25, 2009 at 8:34 AM, David Cole <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<br>
> When I've seen this sort of behavior, I can usually trace it back to a<br>
> variable set in a script or passed in on the command line...<br>
><br>
> CMake tries to preserve any case information that it is given.<br>
> If you can give an example that reproduces this behavior, but is not<br>
> attributable to a user typing "c:" or "C:" inconsistently, then I'm sure one<br>
> of us CMake devs would be willing to investigate it.<br>
> If you can, give a small example that reproduces the issue and submit a bug<br>
> report in the bug tracker for it.<br>
><br>
> Thanks,<br>
> David<br>
><br>
> On Tue, Mar 24, 2009 at 7:09 PM, James Bigler <<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>> wrote:<br>
>><br>
>> I have noticed that CMake can be a little inconsistent with how drive<br>
>> letters are managed.<br>
>><br>
>> Sometimes I get paths with "C:\" sometimes with "c:\". When I<br>
>> generate custom build time scripts using configure_file, often the<br>
>> files change with only this letter change?<br>
>><br>
>> Even the CMakeCache.txt can change (showing only one change):<br>
>><br>
>> # It was generated by CMake: C:/Program Files (x86)/Programming/CMake<br>
>> 2.6/bin/cmake.exe<br>
>> # It was generated by CMake: c:/Program Files (x86)/Programming/CMake<br>
>> 2.6/bin/cmake.exe<br>
>><br>
>> I've also seen this in vsproj files as well.<br>
>><br>
>> I'm wondering if there are any facilities in CMake for keeping these<br>
>> path names consistent?<br>
>><br>
>> I'm using CMake 2.6.3 on WinXP.<br>
>> VS 2005 (v8)<br>
>><br>
>> I'm using the Qt GUI to do configurations.<br>
>><br>
>> Thanks,<br>
>> James<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the CMake FAQ at:<br>
>> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
><br>
><br>
</div></div></blockquote></div><br>