diff options
| -rw-r--r-- | clang/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | clang/runtime/CMakeLists.txt | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 7f6e811414e..31c7f35329c 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -151,7 +151,7 @@ endif () add_subdirectory(include) add_subdirectory(lib) add_subdirectory(tools) +add_subdirectory(runtime) # TODO: docs. add_subdirectory(test) - diff --git a/clang/runtime/CMakeLists.txt b/clang/runtime/CMakeLists.txt new file mode 100644 index 00000000000..68ee266ecae --- /dev/null +++ b/clang/runtime/CMakeLists.txt @@ -0,0 +1,12 @@ +# TODO: Set the install directory. + +set(known_subdirs + "compiler-rt" + "libcxx" + ) + +foreach (dir ${known_subdirs}) + if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/CMakeLists.txt) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${dir}) + endif() +endforeach() |

