llvm.org GIT mirror llvm / e077a90
Revert "Move clang feature flags settings out of LLVM core and into cfe" This broke one of the builds, presumably side-by-side modular CMake. Investigating. This reverts commit r212998. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213005 91177308-0d34-0410-b5e6-96231b3b80d8 Alp Toker 5 years ago
1 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
631631 set(HOST_OS ${CMAKE_SYSTEM_NAME})
632632 set(HOST_ARCH ${CMAKE_SYSTEM_PROCESSOR})
633633
634 if (CLANG_ENABLE_ARCMT)
635 set(ENABLE_CLANG_ARCMT "1")
636 else()
637 set(ENABLE_CLANG_ARCMT "0")
638 endif()
639 if (CLANG_ENABLE_REWRITER)
640 set(ENABLE_CLANG_REWRITER "1")
641 else()
642 set(ENABLE_CLANG_REWRITER "0")
643 endif()
644 if (CLANG_ENABLE_STATIC_ANALYZER)
645 set(ENABLE_CLANG_STATIC_ANALYZER "1")
646 else()
647 set(ENABLE_CLANG_STATIC_ANALYZER "0")
648 endif()
649
634650 configure_file(${input} ${output} @ONLY)
635651 endfunction()
636652