зеркало из https://github.com/microsoft/clang.git
CMake: Add runtime dir.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
4eeebc464e
Коммит
48263bae23
|
@ -151,7 +151,7 @@ endif ()
|
|||
add_subdirectory(include)
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(tools)
|
||||
add_subdirectory(runtime)
|
||||
|
||||
# TODO: docs.
|
||||
add_subdirectory(test)
|
||||
|
||||
|
|
|
@ -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()
|
Загрузка…
Ссылка в новой задаче