OSDN Git Service

llvm-config: Start stubbing out a C++ version of llvm-config (as llvm-config-2,
authorDaniel Dunbar <daniel@zuster.org>
Thu, 3 Nov 2011 17:30:16 +0000 (17:30 +0000)
committerStephen Hines <srhines@google.com>
Mon, 14 Nov 2011 17:11:42 +0000 (09:11 -0800)
commite39e435966920d54ef3082444a34708291ff5ada
tree4e637aadf6896d2e477cfebfd159b198b1731130
parent966d8f9aa97e8f93cce0f4e473a4dd34177be95d
llvm-config: Start stubbing out a C++ version of llvm-config (as llvm-config-2,
for now).

 - Mostly complete except for the data that needs to come from the build system
   or the dependencies.

 - Has some small improvements from current llvm-config:

   o Uses TargetRegistry directly to get some information.

   o Designed to work correctly when used from a CMake build tree (relatively
     untested currently) (although pcc fixed this recently for old llvm-config).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143616 91177308-0d34-0410-b5e6-96231b3b80d8
tools/CMakeLists.txt
tools/Makefile
tools/llvm-config-2/CMakeLists.txt [new file with mode: 0644]
tools/llvm-config-2/Makefile [new file with mode: 0644]
tools/llvm-config-2/llvm-config.cpp [new file with mode: 0644]