Table-driven disassembler for the X86 architecture (16-, 32-, and 64-bit
[oota-llvm.git] / utils / TableGen / CMakeLists.txt
1 add_executable(tblgen
2   AsmMatcherEmitter.cpp
3   AsmWriterEmitter.cpp
4   CallingConvEmitter.cpp
5   ClangDiagnosticsEmitter.cpp
6   CodeEmitterGen.cpp
7   CodeGenDAGPatterns.cpp
8   CodeGenInstruction.cpp
9   CodeGenTarget.cpp
10   DAGISelEmitter.cpp
11   DisassemblerEmitter.cpp
12   FastISelEmitter.cpp
13   InstrEnumEmitter.cpp
14   InstrInfoEmitter.cpp
15   IntrinsicEmitter.cpp
16   LLVMCConfigurationEmitter.cpp
17   OptParserEmitter.cpp
18   Record.cpp
19   RegisterInfoEmitter.cpp
20   SubtargetEmitter.cpp
21   TGLexer.cpp
22   TGParser.cpp
23   TGValueTypes.cpp
24   TableGen.cpp
25   TableGenBackend.cpp
26   X86DisassemblerTables.cpp
27   X86RecognizableInstr.cpp
28   )
29
30 target_link_libraries(tblgen LLVMSupport LLVMSystem)
31 if( MINGW )
32   target_link_libraries(tblgen imagehlp psapi)
33 endif( MINGW )
34 if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
35   target_link_libraries(tblgen pthread)
36 endif()