зеркало из https://github.com/microsoft/clang-1.git
CLANG_BINARY_DIR is not the same thing as LLVM_BINARY_DIR when Clang
is built as part of LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
ab234decac
Коммит
aadd04cb72
|
@ -41,10 +41,10 @@ else()
|
|||
endif()
|
||||
|
||||
# Create the clang++ symlink in the build directory.
|
||||
set(clang_pp "${CLANG_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang++${CMAKE_EXECUTABLE_SUFFIX}")
|
||||
set(clang_pp "${LLVM_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang++${CMAKE_EXECUTABLE_SUFFIX}")
|
||||
add_custom_target(clang++ ALL
|
||||
${CMAKE_COMMAND} -E ${CLANGXX_LINK_OR_COPY}
|
||||
"${CLANG_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang${CMAKE_EXECUTABLE_SUFFIX}"
|
||||
"${LLVM_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang${CMAKE_EXECUTABLE_SUFFIX}"
|
||||
"${clang_pp}"
|
||||
DEPENDS clang)
|
||||
set_property(DIRECTORY APPEND
|
||||
|
|
Загрузка…
Ссылка в новой задаче