llvm/lib/TableGen/CMakeLists.txt
Peter Collingbourne 7c78888887 Move TableGen's parser and entry point into a library
This is the first step towards splitting LLVM and Clang's tblgen executables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140951 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-01 16:41:13 +00:00

17 lines
303 B
CMake

## FIXME: This only requires RTTI because tblgen uses it. Fix that.
set(LLVM_REQUIRES_RTTI 1)
set(LLVM_REQUIRES_EH 1)
add_llvm_library(LLVMTableGen
Error.cpp
Main.cpp
Record.cpp
TableGenBackend.cpp
TGLexer.cpp
TGParser.cpp
)
add_llvm_library_dependencies(LLVMTableGen
LLVMSupport
)