Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da490d2

Browse files
committed
[cmake] Use the external project machinery for libcxxabi so that it can
be disabled in CMake or relocated if desired. llvm-svn: 213936
1 parent 8a157bf commit da490d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

llvm/projects/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ foreach(entry ${entries})
66
if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
77
if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND
88
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND
9-
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx))
9+
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx) AND
10+
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi))
1011
add_subdirectory(${entry})
1112
endif()
1213
endif()
@@ -19,6 +20,7 @@ if(${LLVM_BUILD_RUNTIME})
1920
# fixed.
2021
if(NOT MSVC)
2122
add_llvm_external_project(libcxx)
23+
add_llvm_external_project(libcxxabi)
2224
endif()
2325
if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
2426
add_llvm_external_project(compiler-rt)

0 commit comments

Comments
 (0)