[CMake] Cmake 2.8.2 Bug under windows

Brad King brad.king at kitware.com
Fri Aug 13 14:50:30 EDT 2010


On 08/13/2010 02:45 PM, J Decker wrote:
> On Fri, Aug 13, 2010 at 11:24 AM, Brad King <brad.king at kitware.com> wrote:
>> On 8/12/2010 8:36 PM, J Decker wrote:
>>>
>>> cmake -G "MinGW Makefiles" /test
>>
>> The path "/test" is not a valid full path on windows.
> 
> yes it is.  and the forward slash or backslash is handled perfectly by
> all windows internals - it's only windows command prompt that had an
> issue cause it uses '/' as an option identifier.  The system itself
> allows // or \\ or / or \ anywhere / or \ appear.

Sure.

> Not specifying the drive is also valid - it means use the current drive.

Yes, so the code I mentioned needs to be taught to add the drive letter.

-Brad


More information about the CMake mailing list