blob: 78e12fd34a047db8d340cc5d6716fcb824222111 [file] [log] [blame]
Oscar Fuentes5c6bf652009-03-06 01:16:52 +00001# Discover the projects that use CMake in the subdirectories.
2# Note that explicit cmake invocation is required every time a new project is
3# added or removed.
4file(GLOB entries *)
5foreach(entry ${entries})
6 if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
7 add_subdirectory(${entry})
8 endif()
9endforeach(entry)