Lines Matching full:clang
3 # If we are not building as a part of LLVM, build Clang as an
6 project(Clang)
85 option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
181 "Relative directory from the Clang binary to its resource files.")
184 "Colon separated list of directories clang will search for headers.")
221 set(CLANG_VENDOR_UTI "org.llvm.clang" CACHE STRING
241 "${CLANG_SOURCE_DIR}/include/clang/*.inc")
250 # Compute the Clang version from the LLVM version.
253 message(STATUS "Clang version: ${CLANG_VERSION}")
269 ${CMAKE_CURRENT_SOURCE_DIR}/include/clang/Basic/Version.inc.in
270 ${CMAKE_CURRENT_BINARY_DIR}/include/clang/Basic/Version.inc)
275 if (NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
279 # Enable -pedantic for Clang even if it's not enabled for LLVM.
311 ${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmake
312 ${CLANG_BINARY_DIR}/include/clang/Config/config.h)
325 install(DIRECTORY include/clang include/clang-c
334 install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/clang
346 "Build the Clang tools. If OFF, just generate build targets." ON)
374 # Clang version information
377 "Version number that will be placed into the clang executable, in the form XX.YY")
384 "Generate build targets for the Clang unit tests."
399 option(CLANG_BUILD_EXAMPLES "Build CLANG example programs by default." OFF)
435 option(CLANG_INCLUDE_DOCS "Generate build targets for the Clang docs."
451 set(CLANG_ORDER_FILE ${CMAKE_CURRENT_BINARY_DIR}/clang.order CACHE FILEPATH
452 "Order file to use when compiling clang in order to improve startup time (Darwin Only - requires ld64).")
471 message(STATUS "Setting current clang stage to: ${CLANG_STAGE}")
489 message(STATUS "Setting next clang stage to: ${NEXT_CLANG_STAGE}")
517 DEPENDS clang ${LTO_DEP}
544 -DCMAKE_CXX_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang++
545 -DCMAKE_C_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang
546 -DCMAKE_ASM_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/clang)
555 set(PGO_OPT -DLLVM_PROFDATA_FILE=${CMAKE_CURRENT_BINARY_DIR}/utils/perf-training/clang.profdata)
589 DEPENDS clang ${LTO_DEP} ${RUNTIME_DEP} ${PGO_DEP}
624 set(CLANG_BOOTSTRAP_TARGETS check-llvm check-clang check-all)