mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 10:21:54 +00:00
[CMake] Introduce LLVM_BUILD_EXTERNAL_COMPILER_RT option
llvm-svn: 202363
This commit is contained in:
parent
90c684ef81
commit
32d55ddc80
@ -287,6 +287,9 @@ option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
|
||||
option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)
|
||||
option (LLVM_ENABLE_DOXYGEN "Use doxygen to generate llvm documentation." OFF)
|
||||
|
||||
option (LLVM_BUILD_EXTERNAL_COMPILER_RT
|
||||
"Build compiler-rt as an external project." OFF)
|
||||
|
||||
# All options referred to from HandleLLVMOptions have to be specified
|
||||
# BEFORE this include, otherwise options will not be correctly set on
|
||||
# first cmake run
|
||||
|
@ -20,7 +20,9 @@ if(${LLVM_BUILD_RUNTIME})
|
||||
if(NOT MSVC)
|
||||
add_llvm_external_project(libcxx)
|
||||
endif()
|
||||
if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
|
||||
add_llvm_external_project(compiler-rt)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_llvm_external_project(dragonegg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user