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)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 3 Nov 2011 17:30:16 +0000 (17:30 +0000)
commit7fdd291c91eb89801bc6dd0ce998b9d3b0d92d10
treefda507c2e1da831ff0b865b438f802634deb2079
parent98e0b9c86d1385d9cf04aef92651f0cdf8a46a9e
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]