remove dead .erase.
[oota-llvm.git] / utils / TableGen / CMakeLists.txt
index 8141d761893d16b10e01feade517287bebcd2adc..ce9b66f8c331a9d1bbd177cccb73dff1d5299e43 100644 (file)
@@ -1,26 +1,36 @@
 add_executable(tblgen
+  AsmMatcherEmitter.cpp
   AsmWriterEmitter.cpp
   CallingConvEmitter.cpp
+  ClangDiagnosticsEmitter.cpp
   CodeEmitterGen.cpp
   CodeGenDAGPatterns.cpp
   CodeGenInstruction.cpp
   CodeGenTarget.cpp
   DAGISelEmitter.cpp
+  DisassemblerEmitter.cpp
+  FastISelEmitter.cpp
   InstrEnumEmitter.cpp
   InstrInfoEmitter.cpp
   IntrinsicEmitter.cpp
   LLVMCConfigurationEmitter.cpp
+  OptParserEmitter.cpp
   Record.cpp
   RegisterInfoEmitter.cpp
   SubtargetEmitter.cpp
   TGLexer.cpp
   TGParser.cpp
+  TGValueTypes.cpp
   TableGen.cpp
   TableGenBackend.cpp
-  FastISelEmitter.cpp
+  X86DisassemblerTables.cpp
+  X86RecognizableInstr.cpp
   )
 
 target_link_libraries(tblgen LLVMSupport LLVMSystem)
 if( MINGW )
   target_link_libraries(tblgen imagehlp psapi)
 endif( MINGW )
+if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
+  target_link_libraries(tblgen pthread)
+endif()