[CMake] GLOB segmentation fault

Alexander Neundorf a.neundorf-work at gmx.net
Tue Feb 19 13:24:20 EST 2008


Hi,

On Tuesday 19 February 2008, pepone.onrez wrote:
> pepone at sirius ~/kk/cmake-glob-bug $ cat CMakeLists.txt
> FILE (GLOB TESTS ./test/ *.cpp)
>
> ls -liha test/
> total 0
> 3635635 drwxr-xr-x 3 pepone pepone  72 2008-02-19 04:56 .
>  998787 drwxr-xr-x 4 pepone pepone 160 2008-02-19 04:52 ..
> 3635679 drwxr-xr-x 2 pepone pepone  48 2008-02-19 04:56 .svn
>
>
> Problem seems to appear when test contains directories files that`s begin
> with '.'

I still can't reproduce it, my test project is attached. It works both with 
cmake 2.4.6 (from slackware) and cmake cvs.

Does it crash for you ?

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: globproblem.tar.gz
Type: application/x-tgz
Size: 5472 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20080219/4c7dce66/globproblem.tar.bin


More information about the CMake mailing list