Am Sonntag 11 November 2007 schrieb [EMAIL PROTECTED]:
> I am using CMake version 2.4-patch 7 on Linux/Debian, and I noticed that
> a the automatic dependency scanner of CMake does add a dependency on the
> file bar.cpp upon the file foo.h when it encounters a the following
> commented out preprocessor command inside the bar.cpp file:
>
> /*
> #include "foo.h"
> */

The dependency scanner in cmake is not very exact but better more then less.
Your programming isn't good either. Did you try the following?
#if 0
#include "foo.h"
#endif

HS
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to