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.
_______________________________________________
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