llvm-config.h.cmake revision f245e3b43557f7c1bccf8544a21f580ef4af8728
1/*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/ 2/* */ 3/* The LLVM Compiler Infrastructure */ 4/* */ 5/* This file is distributed under the University of Illinois Open Source */ 6/* License. See LICENSE.TXT for details. */ 7/* */ 8/*===----------------------------------------------------------------------===*/ 9 10/* This file enumerates all of the llvm variables from configure so that 11 they can be in exported headers and won't override package specific 12 directives. This is a C file so we can include it in the llvm-c headers. */ 13 14/* To avoid multiple inclusions of these variables when we include the exported 15 headers and config.h, conditionally include these. */ 16/* TODO: This is a bit of a hack. */ 17#ifndef CONFIG_H 18 19/* Installation directory for binary executables */ 20#cmakedefine LLVM_BINDIR "${LLVM_BINDIR}" 21 22/* Time at which LLVM was configured */ 23#cmakedefine LLVM_CONFIGTIME "${LLVM_CONFIGTIME}" 24 25/* Installation directory for data files */ 26#cmakedefine LLVM_DATADIR "${LLVM_DATADIR}" 27 28/* Installation directory for documentation */ 29#cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}" 30 31/* Installation directory for config files */ 32#cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}" 33 34/* Host triple we were built on */ 35#cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}" 36 37/* Installation directory for include files */ 38#cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}" 39 40/* Installation directory for .info files */ 41#cmakedefine LLVM_INFODIR "${LLVM_INFODIR}" 42 43/* Installation directory for libraries */ 44#cmakedefine LLVM_LIBDIR "${LLVM_LIBDIR}" 45 46/* Installation directory for man pages */ 47#cmakedefine LLVM_MANDIR "${LLVM_MANDIR}" 48 49/* Build multithreading support into LLVM */ 50#cmakedefine LLVM_MULTITHREADED 51 52/* LLVM architecture name for the native architecture, if available */ 53#cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH} 54 55/* LLVM name for the native Target init function, if available */ 56#cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target 57 58/* LLVM name for the native TargetInfo init function, if available */ 59#cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo 60 61/* LLVM name for the native AsmPrinter init function, if available */ 62#cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter 63 64/* Define if this is Unixish platform */ 65#cmakedefine LLVM_ON_UNIX 66 67/* Define if this is Win32ish platform */ 68#cmakedefine LLVM_ON_WIN32 69 70/* Define to path to circo program if found or 'echo circo' otherwise */ 71#cmakedefine LLVM_PATH_CIRCO "${LLVM_PATH_CIRCO}" 72 73/* Define to path to dot program if found or 'echo dot' otherwise */ 74#cmakedefine LLVM_PATH_DOT "${LLVM_PATH_DOT}" 75 76/* Define to path to dotty program if found or 'echo dotty' otherwise */ 77#cmakedefine LLVM_PATH_DOTTY "${LLVM_PATH_DOTTY}" 78 79/* Define to path to fdp program if found or 'echo fdp' otherwise */ 80#cmakedefine LLVM_PATH_FDP "${LLVM_PATH_FDP}" 81 82/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */ 83#cmakedefine LLVM_PATH_GRAPHVIZ "${LLVM_PATH_GRAPHVIZ}" 84 85/* Define to path to gv program if found or 'echo gv' otherwise */ 86#cmakedefine LLVM_PATH_GV "${LLVM_PATH_GV}" 87 88/* Define to path to neato program if found or 'echo neato' otherwise */ 89#cmakedefine LLVM_PATH_NEATO "${LLVM_PATH_NEATO}" 90 91/* Define to path to twopi program if found or 'echo twopi' otherwise */ 92#cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}" 93 94/* Installation prefix directory */ 95#cmakedefine LLVM_PREFIX "${LLVM_PREFIX}" 96 97#endif 98