On Sun, Feb 15, 2009 at 11:02 PM, Pavel Shevaev <pacha.shev...@gmail.com> wrote:
> Sorry folks, I'm replying to myself - I think I've found a solution:
> mark directory containing infrequently changing paths using
> "set_directory_properties", e.g:
>
> set_directory_properties(PROPERTIES INCLUDE_REGULAR_EXPRESSION "^$")

And again I'm replying to myself, sorry :( set_directory_properties
didn't work neither for some reason :(

The workaround I'm using now is the following command:

include_regular_expression("^.*(h|cpp)$")

It works for boost since it uses .hpp extension for headers while my
project uses .h extension... It's kinda a hack, but it works and this
alone has *dramatically* sped up dependency checks. Basically, these
checks cost nothing now.


-- 
Best regards, Pavel
_______________________________________________
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