> Von: Andreas Pakulat > On 19.05.08 02:06:51, Dmitry Marakasov wrote: > > * Andreas Pakulat ([EMAIL PROTECTED]) wrote: > > <snip> > > > > CMakeFiles/Memonix.dir/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.o > > > > gets into project object files (seems like it's because > > > > CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp gets into > GLOB_RECURSE. > > > > That's obviously undesired. > > > Right, then don't use GLOB_RECURSE when you use srcdir == builddir. In > > > fact, don't use srcdir == builddir unless you have good reasons. Apart > > > from that you could as well just list all the files in the project in > a > > > variable, instead of using GLOB. > > Agreed. But I still see it as a bug that cmake uses srcdir == > > builddir AND includes it's own files into glob when doing GLOB. > > If you think so, you should open a bugreport. > And don't forget to open a bugreport for unix 'find' too. It also finds its own sources when doing a 'find /path/to/find/sources -name "*.c" ' ...
Christian -- 249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro. Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake