forked from OSchip/llvm-project
Revert "Move clang feature flags settings out of LLVM core and into cfe"
Prospectively revert to get one of the many build configurations back working (presumably the side-by-side+modular CMake config). This reverts commit r212997. llvm-svn: 213008
This commit is contained in:
parent
fb8b37a49d
commit
3be31a6319
|
@ -385,25 +385,8 @@ install(DIRECTORY include/clang-c
|
|||
add_definitions( -D_GNU_SOURCE )
|
||||
|
||||
option(CLANG_ENABLE_ARCMT "Build ARCMT." ON)
|
||||
if (CLANG_ENABLE_ARCMT)
|
||||
set(ENABLE_CLANG_ARCMT "1")
|
||||
else()
|
||||
set(ENABLE_CLANG_ARCMT "0")
|
||||
endif()
|
||||
|
||||
option(CLANG_ENABLE_REWRITER "Build rewriter." ON)
|
||||
if (CLANG_ENABLE_REWRITER)
|
||||
set(ENABLE_CLANG_REWRITER "1")
|
||||
else()
|
||||
set(ENABLE_CLANG_REWRITER "0")
|
||||
endif()
|
||||
|
||||
option(CLANG_ENABLE_STATIC_ANALYZER "Build static analyzer." ON)
|
||||
if (CLANG_ENABLE_STATIC_ANALYZER)
|
||||
set(ENABLE_CLANG_STATIC_ANALYZER "1")
|
||||
else()
|
||||
set(ENABLE_CLANG_STATIC_ANALYZER "0")
|
||||
endif()
|
||||
|
||||
if (NOT CLANG_ENABLE_REWRITER AND CLANG_ENABLE_ARCMT)
|
||||
message(FATAL_ERROR "Cannot disable rewriter while enabling ARCMT")
|
||||
|
|
Loading…
Reference in New Issue