mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
build: make libunwind a proper project
This allows the build infrastructure to properly detect and build libunwind. llvm-svn: 235796
This commit is contained in:
parent
35234dfd91
commit
44cdb9b8a3
@ -7,7 +7,8 @@ foreach(entry ${entries})
|
||||
if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi))
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi) AND
|
||||
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind))
|
||||
add_subdirectory(${entry})
|
||||
endif()
|
||||
endif()
|
||||
@ -23,6 +24,7 @@ if(${LLVM_BUILD_RUNTIME})
|
||||
# first.
|
||||
add_llvm_external_project(libcxxabi)
|
||||
add_llvm_external_project(libcxx)
|
||||
add_llvm_external_project(libunwind)
|
||||
endif()
|
||||
if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
|
||||
add_llvm_external_project(compiler-rt)
|
||||
|
Loading…
Reference in New Issue
Block a user