Move TableGen's parser and entry point into a library
[oota-llvm.git] / lib / TableGen / CMakeLists.txt
1 ## FIXME: This only requires RTTI because tblgen uses it.  Fix that.
2 set(LLVM_REQUIRES_RTTI 1)
3 set(LLVM_REQUIRES_EH 1)
4
5 add_llvm_library(LLVMTableGen
6   Error.cpp
7   Main.cpp
8   Record.cpp
9   TableGenBackend.cpp
10   TGLexer.cpp
11   TGParser.cpp
12   )
13
14 add_llvm_library_dependencies(LLVMTableGen
15   LLVMSupport
16   )