Alexander Neundorf wrote:
> I'd like to exclude some files from being scanned for dependencies, i.e. all 
> files which have ecos/install/include/ as part of their path.
> I found CMAKE_C_INCLUDE_SCAN_REGEX, but I don't think I can use it for 
> excluding directories, or is there a way to do this ?

The regex is not applied to whole paths: just the names appearing in
#include lines.  You want a directory version of the
INCLUDE_REGULAR_EXPRESSION command:

http://www.cmake.org/Bug/bug.php?op=show&bugid=2607

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to