llvm-config.h.cmake revision cd81d94322a39503e4a3e87b6ee03d4fcb3465fb
1/*===------- llvm/Config/llvm-config.h - llvm configuration -------*- 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 variables from the LLVM configuration so that they
11   can be in exported headers and won't override package specific directives.
12   This is a C header that can be included in the llvm-c headers. */
13
14#ifndef LLVM_CONFIG_H
15#define LLVM_CONFIG_H
16
17/* Installation directory for binary executables */
18#cmakedefine LLVM_BINDIR "${LLVM_BINDIR}"
19
20/* Time at which LLVM was configured */
21#cmakedefine LLVM_CONFIGTIME "${LLVM_CONFIGTIME}"
22
23/* Installation directory for data files */
24#cmakedefine LLVM_DATADIR "${LLVM_DATADIR}"
25
26/* Target triple LLVM will generate code for by default */
27#cmakedefine LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
28
29/* Installation directory for documentation */
30#cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
31
32/* Define if threads enabled */
33#cmakedefine01 LLVM_ENABLE_THREADS
34
35/* Installation directory for config files */
36#cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
37
38/* Has gcc/MSVC atomic intrinsics */
39#cmakedefine01 LLVM_HAS_ATOMICS
40
41/* Host triple LLVM will be executed on */
42#cmakedefine LLVM_HOST_TRIPLE "${LLVM_HOST_TRIPLE}"
43
44/* Installation directory for include files */
45#cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
46
47/* Installation directory for .info files */
48#cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
49
50/* Installation directory for man pages */
51#cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
52
53/* LLVM architecture name for the native architecture, if available */
54#cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
55
56/* LLVM name for the native AsmParser init function, if available */
57#cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
58
59/* LLVM name for the native AsmPrinter init function, if available */
60#cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
61
62/* LLVM name for the native Disassembler init function, if available */
63#cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
64
65/* LLVM name for the native Target init function, if available */
66#cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
67
68/* LLVM name for the native TargetInfo init function, if available */
69#cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
70
71/* LLVM name for the native target MC init function, if available */
72#cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
73
74/* Define if this is Unixish platform */
75#cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
76
77/* Define if this is Win32ish platform */
78#cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
79
80/* Installation prefix directory */
81#cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
82
83/* Define if we have the Intel JIT API runtime support library */
84#cmakedefine LLVM_USE_INTEL_JITEVENTS 1
85
86/* Define if we have the oprofile JIT-support library */
87#cmakedefine LLVM_USE_OPROFILE 1
88
89/* Major version of the LLVM API */
90#cmakedefine LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
91
92/* Minor version of the LLVM API */
93#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
94
95/* Define if we link Polly to the tools */
96#cmakedefine LINK_POLLY_INTO_TOOLS
97
98#endif
99