[CMake] use of wildcard

Jean-Christophe Roux jcxxr at yahoo.com
Tue Feb 6 18:34:58 EST 2007


Hello,

How do I capture every file of a folder in one command? For instance, instead of
set(SOURCE_FILES     a.cpp b.cpp ... zzz.cpp)
I'd like to write something like:
set(SOURCE_FILES  dir1/* dir2/*.cpp)
that would save a lot of typing and maintenance.

Thanks for any clue





 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070206/491723ba/attachment.html


More information about the CMake mailing list