llvm.org GIT mirror llvm / 168d0c1
[cmake] Use the external project machinery for libcxxabi so that it can be disabled in CMake or relocated if desired. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213936 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 5 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
55 if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)
66 if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND
77 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND
8 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx))
8 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx) AND
9 (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi))
910 add_subdirectory(${entry})
1011 endif()
1112 endif()
1819 # fixed.
1920 if(NOT MSVC)
2021 add_llvm_external_project(libcxx)
22 add_llvm_external_project(libcxxabi)
2123 endif()
2224 if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
2325 add_llvm_external_project(compiler-rt)