[cmake-developers] Configure optimization for WIN32
Bill Hoffman
bill.hoffman at kitware.com
Fri Apr 13 15:35:42 EDT 2007
Philip Lowman wrote:
> Bill Hoffman wrote:
>
>> I can not remember the exact case, but I think I had to add that to get
>> around some problem.
>> I don't think it was just a matter of fixing what the user entered.
>> GetActualCaseForPath is only called twice in the cmake source tree as
>> far as I can tell.
>> It is in cmOrderLinkDirectories.cxx, but in this case it is only called
>> for the library paths used.
>>
>> The other place is CollapseFullPath in SystemTools.cxx. If you comment
>> out the one
>> call in CollapseFullPath do you get the same speed up?
>>
>
> Yes.
>
> Also, I think I thought of a possible corner case. What would happen if
> the developer generated VCproj files in "C:\Projects\Foo" and then
> decided one day from the command line to cd into "C:\projects\foo". If
> CMake were run would that cause a bunch of VCproj files to be updated
> due to the path changes causing the files to be different, or would
> CMake ascertain the source directory based off of a cache variable instead?
>
>
Yes, that might be a problem.
-Bill
More information about the cmake-developers
mailing list