Óscar Fuentes <o...@wanadoo.es> writes:

> 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

Since the C.includescache excerpt showed above is from MinGW, maybe it
is is more clear to show the command of that build:

cd D:\dev\other\emacs\qbuild\src && C:\apps\msys\1.0\mingw\bin\gcc.exe
-Demacs -DHAVE_CONFIG_H -DHAVE_NTGUI -g
-I. -ID:/dev/other/emacs/git/nt/inc -ID:/dev/other/emacs/qbuild/src
-ID:/dev/other/emacs/git/src -o CMakeFiles\qemacs.dir\alloc.c.obj -c
D:\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

Reply via email to