llvm.org GIT mirror llvm / 6d89eba
Translate ENABLE_CLANG_{ARCMT,REWRITER,STATIC_ANALYZER} when generating lit.site.cfg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189394 91177308-0d34-0410-b5e6-96231b3b80d8 Roman Divacky 6 years ago
1 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
294294
295295 set(HOST_OS ${CMAKE_SYSTEM_NAME})
296296 set(HOST_ARCH ${CMAKE_SYSTEM_PROCESSOR})
297
298 if (CLANG_ENABLE_ARCMT)
299 set(ENABLE_CLANG_ARCMT "1")
300 else()
301 set(ENABLE_CLANG_ARCMT "0")
302 endif()
303 if (CLANG_ENABLE_REWRITER)
304 set(ENABLE_CLANG_REWRITER "1")
305 else()
306 set(ENABLE_CLANG_REWRITER "0")
307 endif()
308 if (CLANG_ENABLE_STATIC_ANALYZER)
309 set(ENABLE_CLANG_STATIC_ANALYZER "1")
310 else()
311 set(ENABLE_CLANG_STATIC_ANALYZER "0")
312 endif()
297313
298314 configure_file(${input} ${output} @ONLY)
299315 endfunction()