llvm-config.h.cmake revision a5da3f9e98c783d505662eec0a1c87972cb83d51
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}Target
54
55/* Short LLVM architecture name for the native architecture, if available */
56#cmakedefine LLVM_NATIVE_ARCHNAME ${LLVM_NATIVE_ARCH}
57
58/* Define if this is Unixish platform */
59#cmakedefine LLVM_ON_UNIX
60
61/* Define if this is Win32ish platform */
62#cmakedefine LLVM_ON_WIN32
63
64/* Define to path to circo program if found or 'echo circo' otherwise */
65#cmakedefine LLVM_PATH_CIRCO "${LLVM_PATH_CIRCO}"
66
67/* Define to path to dot program if found or 'echo dot' otherwise */
68#cmakedefine LLVM_PATH_DOT "${LLVM_PATH_DOT}"
69
70/* Define to path to dotty program if found or 'echo dotty' otherwise */
71#cmakedefine LLVM_PATH_DOTTY "${LLVM_PATH_DOTTY}"
72
73/* Define to path to fdp program if found or 'echo fdp' otherwise */
74#cmakedefine LLVM_PATH_FDP "${LLVM_PATH_FDP}"
75
76/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
77#cmakedefine LLVM_PATH_GRAPHVIZ "${LLVM_PATH_GRAPHVIZ}"
78
79/* Define to path to gv program if found or 'echo gv' otherwise */
80#cmakedefine LLVM_PATH_GV "${LLVM_PATH_GV}"
81
82/* Define to path to neato program if found or 'echo neato' otherwise */
83#cmakedefine LLVM_PATH_NEATO "${LLVM_PATH_NEATO}"
84
85/* Define to path to twopi program if found or 'echo twopi' otherwise */
86#cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}"
87
88/* Installation prefix directory */
89#cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
90
91#endif
92