mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
Translate ENABLE_CLANG_{ARCMT,REWRITER,STATIC_ANALYZER} when generating
lit.site.cfg. llvm-svn: 189394
This commit is contained in:
parent
c8417c3f79
commit
d0522234fd
@ -296,6 +296,22 @@ function(configure_lit_site_cfg input output)
|
||||
set(HOST_OS ${CMAKE_SYSTEM_NAME})
|
||||
set(HOST_ARCH ${CMAKE_SYSTEM_PROCESSOR})
|
||||
|
||||
if (CLANG_ENABLE_ARCMT)
|
||||
set(ENABLE_CLANG_ARCMT "1")
|
||||
else()
|
||||
set(ENABLE_CLANG_ARCMT "0")
|
||||
endif()
|
||||
if (CLANG_ENABLE_REWRITER)
|
||||
set(ENABLE_CLANG_REWRITER "1")
|
||||
else()
|
||||
set(ENABLE_CLANG_REWRITER "0")
|
||||
endif()
|
||||
if (CLANG_ENABLE_STATIC_ANALYZER)
|
||||
set(ENABLE_CLANG_STATIC_ANALYZER "1")
|
||||
else()
|
||||
set(ENABLE_CLANG_STATIC_ANALYZER "0")
|
||||
endif()
|
||||
|
||||
configure_file(${input} ${output} @ONLY)
|
||||
endfunction()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user