[CMake] Globbing expression
Arnaud Devalkeneer
adevalkeneer at gmail.com
Mon Jul 13 04:43:46 EDT 2009
Hello everybody,
I would like to know if there exists a way to find all files in a directory
with a custom file extension (e.g. *.so) except files beginning by a
custom string (here libA). For example I am using the line :
FILE( GLOB RESULT path/[^libA]*.so )
but the RESULT variable remains empty. Of cource I am sure of *.so files
existance in the path.
Has anybody already tried to glob files in a directory, excluding some file
name patterns?
Thank you in advance for your help.
Enjoy Cmake,
Arnaud.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090713/a3a79bdb/attachment.htm>
More information about the CMake
mailing list