[cmake-developers] New command 'file(LOCK_DIRECTORY ...)'

Brad King brad.king at kitware.com
Thu Nov 13 11:03:41 EST 2014


On 11/13/2014 09:01 AM, Ruslan Baratov wrote:
>> * Please add documentation to Help/command/file.rst and anywhere else
>>    that is appropriate.
> Done

Thanks.  I will try out the patch when I get a chance to provide further
feedback.

> Is it possible to run tests only from 'Tests/RunCMake/file' directory?

ctest -R RunCMake.file -V

> By the way I got the following error (Visual Studio 2013) if I include 
> 'cmFileLockResult.h' before 'cm_curl.h' in file 'cmFileCommand.cxx':
> Compiles fine if 'cmFileLockResult.h' placed after 'cm_curl.h'.

Okay.

One comment from a quick scroll through the patches:

- Use ConvertToWindowsExtendedPath for passing file paths to windows
  APIs.  That will allow use of longer path names.

Thanks,
-Brad



More information about the cmake-developers mailing list