[CMake] include_regular_expression question(Ubuntu CMake-2.6-patch0)

Pavel Shevaev pacha.shevaev at gmail.com
Sat Feb 14 02:08:12 EST 2009


Hi folks,

I'm new to CMake and quite happy about it(especially after having
tried SCons and WAF), thank you guys, you're doing great job.

The only issue bothering me at the moment is
"include_regular_expression" command which I can't make work properly.
I'm developing quite a large project which bundles sources of boost
and some other large libs. What I want to achieve is to exclude
certain paths which change infrequently(boost is among of those paths)
from dependency checking resolver. Basically, I'm trying the following
command:

include_regular_expression("(projectA|projectB|projectC)")

...and it looks like it's not working properly, depend.make still
contains lots of unnecessary entries.

Am I missing something? Thanks in advance.

P.S It would be very cool to have "exclude_regular_expression" as well
in some future version of CMake ;)

-- 
Best regards, Pavel


More information about the CMake mailing list