Jean-Christophe Roux wrote:
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
Check the man page for the file(GLOB... and file(GLOB_RECURSE... signatures
--Radu
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake