Changeset View
Changeset View
Standalone View
Standalone View
clang/CMakeLists.txt
Show First 20 Lines • Show All 470 Lines • ▼ Show 20 Lines | if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) | ||||
endif() | endif() | ||||
endif() | endif() | ||||
add_definitions( -D_GNU_SOURCE ) | add_definitions( -D_GNU_SOURCE ) | ||||
option(CLANG_BUILD_TOOLS | option(CLANG_BUILD_TOOLS | ||||
"Build the Clang tools. If OFF, just generate build targets." ON) | "Build the Clang tools. If OFF, just generate build targets." ON) | ||||
CMAKE_DEPENDENT_OPTION(CLANG_PLUGIN_SUPPORT | |||||
"Build clang with plugin support" ON | |||||
"LLVM_ENABLE_PLUGINS OR LLVM_EXPORT_SYMBOLS_FOR_PLUGINS" OFF) | |||||
option(CLANG_ENABLE_ARCMT "Build ARCMT." ON) | option(CLANG_ENABLE_ARCMT "Build ARCMT." ON) | ||||
option(CLANG_ENABLE_STATIC_ANALYZER | option(CLANG_ENABLE_STATIC_ANALYZER | ||||
"Include static analyzer in clang binary." ON) | "Include static analyzer in clang binary." ON) | ||||
option(CLANG_ENABLE_PROTO_FUZZER "Build Clang protobuf fuzzer." OFF) | option(CLANG_ENABLE_PROTO_FUZZER "Build Clang protobuf fuzzer." OFF) | ||||
if(NOT CLANG_ENABLE_STATIC_ANALYZER AND CLANG_ENABLE_ARCMT) | if(NOT CLANG_ENABLE_STATIC_ANALYZER AND CLANG_ENABLE_ARCMT) | ||||
message(FATAL_ERROR "Cannot disable static analyzer while enabling ARCMT or Z3") | message(FATAL_ERROR "Cannot disable static analyzer while enabling ARCMT or Z3") | ||||
▲ Show 20 Lines • Show All 433 Lines • Show Last 20 Lines |