Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-24 Thread Claus Klein
Hi Brad, I have tested this version today, but the problem still exist! Best regards, Claus On 23.08.2010, at 14:13, Brad King wrote: On 08/21/2010 03:31 AM, Claus Klein wrote: can you please check if this may related also to this BUG: http://cmake.org/Bug/view.php?id=11153 It happens on W

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-23 Thread Brad King
On 08/21/2010 03:31 AM, Claus Klein wrote: > can you please check if this may related also to this BUG: > > http://cmake.org/Bug/view.php?id=11153 > > It happens on Windows only at a root dir. That looks like the same problem. Please try our nightly build version "cmake-2.8.2.20100819-gc7c6":

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-21 Thread Claus Klein
Hi, can you please check if this may related also to this BUG: http://cmake.org/Bug/view.php?id=11153 It happens on Windows only at a root dir. Thanks, Claus On 16.08.2010, at 15:31, Brad King wrote: On 08/13/2010 06:03 PM, J Decker wrote: Yes, this patch fixes the problem thank you. Tha

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-16 Thread Brad King
On 08/13/2010 06:03 PM, J Decker wrote: > Yes, this patch fixes the problem thank you. Thanks for testing it. I've committed upstream. -Brad ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread J Decker
Yes, this patch fixes the problem thank you. On Fri, Aug 13, 2010 at 1:39 PM, Brad King wrote: > On 8/12/2010 8:36 PM, J Decker wrote: >> CMake Error: The source directory "C:/build/test" does not exist. >> Specify --help for usage, or press the help button on the CMake GUI. >> Makefile:118: ***

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread Brad King
On 8/12/2010 8:36 PM, J Decker wrote: > CMake Error: The source directory "C:/build/test" does not exist. > Specify --help for usage, or press the help button on the CMake GUI. > Makefile:118: *** [cmake_check_build_system] Error 1 I found it. CMake actually is preserving the path as "/test" unti

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread J Decker
But actually it needs to not prepend anything if it starts with a slash, otherwise you couldn't build from a network share by name On Fri, Aug 13, 2010 at 12:25 PM, J Decker wrote: > On Fri, Aug 13, 2010 at 11:50 AM, Brad King wrote: >> On 08/13/2010 02:45 PM, J Decker wrote: >>> On Fri, Aug

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread J Decker
On Fri, Aug 13, 2010 at 11:50 AM, Brad King wrote: > On 08/13/2010 02:45 PM, J Decker wrote: >> On Fri, Aug 13, 2010 at 11:24 AM, Brad King 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. >>

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread Brad King
On 08/13/2010 02:45 PM, J Decker wrote: > On Fri, Aug 13, 2010 at 11:24 AM, Brad King 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

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread J Decker
On Fri, Aug 13, 2010 at 11:24 AM, Brad King 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 wind

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread Brad King
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. That syntax is used by many tools for command line options. If I use a backslash instead: cmake -G "MinGW Makefiles" \test I get CMake Error: The source directory "C

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-13 Thread J Decker
the name of the directory does not matter... I was using an entirely different name. On Thu, Aug 12, 2010 at 8:21 PM, Alan W. Irwin wrote: > On 2010-08-12 17:36-0700 J Decker wrote: > >> To Reiterate steps >> >> -- >> >> mkdir /test >> touch /test/CMakeLists.txt >> mkdir /build >> cd

Re: [CMake] Cmake 2.8.2 Bug under windows

2010-08-12 Thread Alan W. Irwin
On 2010-08-12 17:36-0700 J Decker wrote: To Reiterate steps -- mkdir /test touch /test/CMakeLists.txt mkdir /build cd /build [cmake-gui /test] or [cmake -G "MinGW Makefiles" /test] touch /test/CMakeLists.txt make (fails) In the past I found a subdirectory of the source tree name

[CMake] Cmake 2.8.2 Bug under windows

2010-08-12 Thread J Decker
2.8.1 also does this I thought it was because i didn't specify the drive, because I'm pretty sure I did this a lot when first developing cmakelists for my projects... but I don't know maybe 2.8.0 did it differently and I don't have that anymore... maybe I had the cmake-gui up and kept hitting gene