On Tue, Nov 24, 2009 at 4:22 PM, Tyler Roscoe <ty...@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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake