On Monday 22 June 2009, James C. Sutherland wrote:
> I am trying to add most files from a directory to a variable.  I first
> glob the source files, and then want to remove the unwanted files from
> the resulting string.  

Really, don't do that.
Just add all files you want to compile explicitely to the CMakeLists.txt.
If you glob, you
- may get files you did not want
- have to run cmake manually to update the list of files, instead of leaving 
this to the dependency handling, otherwise
- you don't get the files you want

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