Alexander Neundorf <a.neundorf-w...@gmx.net> writes: >> In the C.includescache file config.h is mentioned, twice. So the >> dependency scanner detects the file, but then it is ignored. The >> config.h file is in D:/dev/other/emacs/qbuild/src/config.h (the build >> directory.) This is an excerpt of C.includescache: >> >> D:/dev/other/emacs/git/src/alloc.c >> config.h >> D:/dev/other/emacs/git/src/config.h > > This looks like it decided for D:/dev/other/emacs/git/src/config.h instead of > D:/dev/other/emacs/qbuild/src/config.h . > What's the exact compile command (from make VERBOSE=1) ?
This is from Linux: cd /home/oscar/dev/other/emacs/qbuild/src && /usr/bin/gcc -Demacs -DHAVE_CONFIG_H -I. -I/home/oscar/dev/other/emacs/qbuild/src -I/home/oscar/dev/other/emacs/git/src -I/usr/include/freetype2 -o CMakeFiles/qemacs.dir/alloc.c.o -c /home/oscar/dev/other/emacs/git/src/alloc.c _______________________________________________ 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