Home | History | Annotate | Download | only in llvm

Lines Matching full:llvm

1 # See docs/CMake.html for instructions about how to build LLVM with CMake.
19 project(LLVM)
46 "Append the version control system revision id to LLVM version" OFF)
52 set(PACKAGE_NAME LLVM)
54 set(PACKAGE_BUGREPORT "http://llvm.org/bugs/")
60 set(CPACK_PACKAGE_INSTALL_DIRECTORY "LLVM")
61 set(CPACK_PACKAGE_VENDOR "LLVM")
68 set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "LLVM")
88 CMake would overwrite the makefiles distributed with LLVM.
97 "${CMAKE_CURRENT_SOURCE_DIR}/include/llvm/*.gen")
124 # Each of them corresponds to llvm-config's.
183 CACHE STRING "Set target to use for LLVM JIT or use \"host\" for automatic detection.")
251 "Use -gsplit-dwarf when compiling llvm." OFF)
253 option(WITH_POLLY "Build LLVM with Polly" ON)
280 option(LLVM_INCLUDE_TOOLS "Generate build targets for the LLVM tools." ON)
282 "Build the LLVM tools. If OFF, just generate build targets." ON)
284 option(LLVM_INCLUDE_UTILS "Generate build targets for the LLVM utils." ON)
287 "Build the LLVM runtime libraries." ON)
289 "Build the LLVM example programs. If OFF, just generate build targets." OFF)
290 option(LLVM_INCLUDE_EXAMPLES "Generate build targets for the LLVM examples" ON)
293 "Build LLVM unit tests. If OFF, just generate build targets." OFF)
294 option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)
296 option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
297 option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)
298 option (LLVM_ENABLE_DOXYGEN "Use doxygen to generate llvm API documentation." OFF)
299 option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF)
312 "Default target for which LLVM will generate code." )
330 # We use llvm-build to generate all the data required by the CMake based
336 # - We generate the library table used by llvm-config.
341 set(LLVMBUILDTOOL "${LLVM_MAIN_SRC_DIR}/utils/llvm-build/llvm-build")
343 "${LLVM_BINARY_DIR}/tools/llvm-config/LibraryDependencies.inc")
372 message(STATUS "llvm-build output: ${LLVMBUILDOUTPUT}")
376 "Unexpected failure executing llvm-build: ${LLVMBUILDERRORS}")
387 # Configure all of the various header file fragments LLVM uses which depend on
423 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/AsmPrinters.def.in
424 ${LLVM_INCLUDE_DIR}/llvm/Config/AsmPrinters.def
427 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/AsmParsers.def.in
428 ${LLVM_INCLUDE_DIR}/llvm/Config/AsmParsers.def
431 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/Disassemblers.def.in
432 ${LLVM_INCLUDE_DIR}/llvm/Config/Disassemblers.def
435 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/Targets.def.in
436 ${LLVM_INCLUDE_DIR}/llvm/Config/Targets.def
439 # Configure the three LLVM configuration header files.
441 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/config.h.cmake
442 ${LLVM_INCLUDE_DIR}/llvm/Config/config.h)
444 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/llvm-config.h.cmake
445 ${LLVM_INCLUDE_DIR}/llvm/Config/llvm-config.h)
447 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/DataTypes.h.cmake
448 ${LLVM_INCLUDE_DIR}/llvm/Support/DataTypes.h)
473 # On FreeBSD, /usr/local/* is not used by default. In order to build LLVM
480 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include llvm/Support/Solaris.h")
502 add_subdirectory(include/llvm)
511 add_subdirectory(utils/llvm-lit)
571 install(DIRECTORY include/llvm include/llvm-c
582 install(DIRECTORY ${LLVM_INCLUDE_DIR}/llvm
589 # Exclude include/llvm/CMakeFiles/intrinsics_gen.dir, matched by "*.def"