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 | 4bdd099dfcaf640a47f23d869d6a2c69eb4c6556 (patch) | |
tree | 6713b2ba56f172b00ae2f9b7b82a9e0574fbb75e /tools/llvm-config-2/llvm-config.cpp | |
parent | 8d69414022333a5ba2700c4176e81d56c10d9458 (diff) |
llvm-config-2: Implement build system support for getting the variables we only
know at build time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config-2/llvm-config.cpp')
-rw-r--r-- | tools/llvm-config-2/llvm-config.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tools/llvm-config-2/llvm-config.cpp b/tools/llvm-config-2/llvm-config.cpp index 0d726d258d..597b80fb4f 100644 --- a/tools/llvm-config-2/llvm-config.cpp +++ b/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, |