* Andreas Pakulat ([EMAIL PROTECTED]) wrote: > > I guess I will. GLOB_RECURSE may not be the best way to specify > > project sources, but it matching anything under CMakeFiles/ is certainly > > not what user would expect. > Actually as a CMake user I would expect exactly that. GLOB_RECURSE not > looking in certain directories because of their name is completely > broken behaviour, what if I have sources in there that I want to > compile? I'd expect cmake to work with filetree state as it was at the moment right before cmake was run. That is, there won't be any generated files. The behavior shound not change with subsequent cmake runs, so generated files should be invisible to user-issued instructions like GLOB_RECURSE.
I guess you can do nothing other than not look into certain directories because of their name, because cmake creates just those directories with specific names. You _are_ expecting that cmake will overwrite Makefile, but leave MaKeFiLe untouched, right? -- Dmitry A. Marakasov | jabber: [EMAIL PROTECTED] [EMAIL PROTECTED] | http://www.amdmi3.ru _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
