[CMake] Configured C header dependency problem

Óscar Fuentes ofv at wanadoo.es
Wed Jul 28 16:26:33 EDT 2010


Alexander Neundorf <a.neundorf-work at 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



More information about the CMake mailing list