[CMake] CMake / UNC and long path
Mathieu Malaterre
mathieu.malaterre at gmail.com
Tue Nov 24 10:49:10 EST 2009
On Tue, Nov 24, 2009 at 4:22 PM, Tyler Roscoe <tyler at cryptio.net> wrote:
> On Tue, Nov 24, 2009 at 04:15:18PM +0100, Mathieu Malaterre wrote:
>> Does anyone knows how to create a directory on Win32 system ? I tried:
>>
>> http://gdcm.svn.sourceforge.net/svnroot/gdcm/Sandbox/CMakeBug/11/CMakeLists.txt
>>
>> But it fails on my WinXP 32bits system.
>
> Use execute_process() or a custom_command with 'cmake -E
> make_directory'.
>
> However if you're running into a limitation of 32-bit xp or whatever
> filesystem you're using, CMake isn't going to be able to help you.
I have not tried, but just from a CMake design point of view I /would/
think that cmake -E make_directory is identical to calling
file(MAKE_DIRECTORY ...).
I think they share the same code base.
Did you try on your system and one is working but not the other ?
Thanks,
--
Mathieu
More information about the CMake
mailing list