2010-12-16 11:28:42 +08:00
|
|
|
# TODO: Set the install directory.
|
|
|
|
|
|
|
|
set(known_subdirs
|
|
|
|
"compiler-rt"
|
2011-10-01 04:24:28 +08:00
|
|
|
"libcxx"
|
2010-12-16 11:28:42 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
foreach (dir ${known_subdirs})
|
|
|
|
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/CMakeLists.txt)
|
|
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${dir})
|
|
|
|
endif()
|
|
|
|
endforeach()
|