зеркало из https://github.com/microsoft/clang-1.git
[CMake] clang/tools/extra may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=/path/to/llvm-srcroot/tools/clang/tools/extra, by default. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
f82232c8b7
Коммит
ff2fb961dc
|
@ -10,7 +10,5 @@ add_subdirectory(clang-check)
|
|||
# subdirectory. It contains tools developed as part of the Clang/LLVM project
|
||||
# on top of the Clang tooling platform. We keep them in a separate repository
|
||||
# to keep the primary Clang repository small and focused.
|
||||
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/extra AND
|
||||
EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/extra/CMakeLists.txt)
|
||||
add_subdirectory(extra)
|
||||
endif()
|
||||
# It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
|
||||
add_llvm_external_project(clang-tools-extra extra)
|
||||
|
|
Загрузка…
Ссылка в новой задаче