[CMake] Add multiple directories

Robert Bielik robert.bielik at xponaut.se
Mon Feb 18 14:47:00 EST 2008


I'm setting up a project repository with subversion where I'll have external libs linked in via
svn:externals svn property. Each external lib will have a CMakeLists.txt file.

Ideally, I'd like to have the possibility to include N subdirectories without having to alter
the CMakeLists.txt file to do it (by just changing the svn:externals property).

Like:

ADD_SUBDIRECTORY( * )

Can it be done?
TIA
/R


More information about the CMake mailing list