llvm-6502/tools/llvm-config-2/CMakeLists.txt
Daniel Dunbar 7fdd291c91 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
2011-11-03 17:30:16 +00:00

6 lines
85 B
CMake

set(LLVM_LINK_COMPONENTS support)
add_llvm_tool(llvm-config-2
llvm-config.cpp
)