llvm.org GIT mirror llvm / 9e443ca
[CMake] Introduce LLVM_BUILD_EXTERNAL_COMPILER_RT option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202363 91177308-0d34-0410-b5e6-96231b3b80d8 Alexey Samsonov 5 years ago
2 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
286286 option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)
287287 option (LLVM_ENABLE_DOXYGEN "Use doxygen to generate llvm documentation." OFF)
288288
289 option (LLVM_BUILD_EXTERNAL_COMPILER_RT
290 "Build compiler-rt as an external project." OFF)
291
289292 # All options referred to from HandleLLVMOptions have to be specified
290293 # BEFORE this include, otherwise options will not be correctly set on
291294 # first cmake run
1919 if(NOT MSVC)
2020 add_llvm_external_project(libcxx)
2121 endif()
22 add_llvm_external_project(compiler-rt)
22 if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
23 add_llvm_external_project(compiler-rt)
24 endif()
2325 endif()
2426
2527 add_llvm_external_project(dragonegg)