[CMake] Need help with GLOB expression

Robert Dailey rcdailey at gmail.com
Fri Mar 27 20:07:40 EDT 2009


I need to create a glob expression (For file( GLOB_RECURSE ) ) that will
find files with the following extensions:
*.h
*.hpp
*.ipp

How can I format my glob expression to do this? I know for HPP and IPP
files, my glob expression would be:

*.[hi]pp

However, this ignores all H files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090327/9be8c774/attachment.htm>


More information about the CMake mailing list