Oscar Fuentes | 5c6bf65 | 2009-03-06 01:16:52 +0000 | [diff] [blame] | 1 | # 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. | ||||
4 | file(GLOB entries *) | ||||
5 | foreach(entry ${entries}) | ||||
6 | if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt) | ||||
7 | add_subdirectory(${entry}) | ||||
8 | endif() | ||||
9 | endforeach(entry) |