diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-11-03 21:01:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-11-03 21:01:36 +0000 |
commit | 803b761cbb371f840cb0540a2745bed44e3780d8 (patch) | |
tree | 1167fa0332ae749277c29e42ef1341a3020178be /llvm/tools/llvm-config-2/llvm-config.cpp | |
parent | 4a1a9eceb5303e8744443dbff5f97cce1a27ecb6 (diff) | |
download | bcm5719-llvm-803b761cbb371f840cb0540a2745bed44e3780d8.tar.gz bcm5719-llvm-803b761cbb371f840cb0540a2745bed44e3780d8.zip |
llvm-config-2: Implement build system support for getting the variables we only
know at build time.
llvm-svn: 143649
Diffstat (limited to 'llvm/tools/llvm-config-2/llvm-config.cpp')
-rw-r--r-- | llvm/tools/llvm-config-2/llvm-config.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/llvm/tools/llvm-config-2/llvm-config.cpp b/llvm/tools/llvm-config-2/llvm-config.cpp index 0d726d258de..597b80fb4fb 100644 --- a/llvm/tools/llvm-config-2/llvm-config.cpp +++ b/llvm/tools/llvm-config-2/llvm-config.cpp @@ -33,15 +33,9 @@ using namespace llvm; -// FIXME: Need to get various bits of build time information. -const char LLVM_SRC_ROOT[] = "FIXME"; -const char LLVM_OBJ_ROOT[] = "FIXME"; -const char LLVM_CPPFLAGS[] = "FIXME"; -const char LLVM_CFLAGS[] = "FIXME"; -const char LLVM_LDFLAGS[] = "FIXME"; -const char LLVM_CXXFLAGS[] = "FIXME"; -const char LLVM_BUILDMODE[] = "FIXME"; -const char LLVM_SYSTEM_LIBS[] = "FIXME"; +// Include the build time variables we can report to the user. This is generated +// at build time from the BuildVariables.inc.in file by the build system. +#include "BuildVariables.inc" // Include the component table. This creates an array of struct // AvailableComponent entries, which record the component name, library name, |