Michael J. Spencer | 48263ba | 2010-12-16 03:28:42 +0000 | [diff] [blame] | 1 | # TODO: Set the install directory. |
2 | |||||
3 | set(known_subdirs | ||||
4 | "compiler-rt" | ||||
Bob Wilson | da79da2 | 2011-09-30 20:24:28 +0000 | [diff] [blame] | 5 | "libcxx" |
Michael J. Spencer | 48263ba | 2010-12-16 03:28:42 +0000 | [diff] [blame] | 6 | ) |
7 | |||||
8 | foreach (dir ${known_subdirs}) | ||||
9 | if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/CMakeLists.txt) | ||||
10 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${dir}) | ||||
11 | endif() | ||||
12 | endforeach() |