Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 1 | add_executable(tblgen |
Daniel Dunbar | d66cc5c | 2009-07-11 21:53:14 +0000 | [diff] [blame] | 2 | AsmMatcherEmitter.cpp |
Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 3 | AsmWriterEmitter.cpp |
| 4 | CallingConvEmitter.cpp |
Douglas Gregor | 9f20b83 | 2009-03-16 17:04:14 +0000 | [diff] [blame] | 5 | ClangDiagnosticsEmitter.cpp |
Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 6 | CodeEmitterGen.cpp |
| 7 | CodeGenDAGPatterns.cpp |
| 8 | CodeGenInstruction.cpp |
| 9 | CodeGenTarget.cpp |
| 10 | DAGISelEmitter.cpp |
Daniel Dunbar | e502433 | 2009-11-25 02:13:23 +0000 | [diff] [blame^] | 11 | DisassemblerEmitter.cpp |
Douglas Gregor | 9f20b83 | 2009-03-16 17:04:14 +0000 | [diff] [blame] | 12 | FastISelEmitter.cpp |
Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 13 | InstrEnumEmitter.cpp |
| 14 | InstrInfoEmitter.cpp |
| 15 | IntrinsicEmitter.cpp |
| 16 | LLVMCConfigurationEmitter.cpp |
Douglas Gregor | 361a376 | 2009-11-18 23:20:09 +0000 | [diff] [blame] | 17 | OptParserEmitter.cpp |
Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 18 | Record.cpp |
| 19 | RegisterInfoEmitter.cpp |
| 20 | SubtargetEmitter.cpp |
| 21 | TGLexer.cpp |
| 22 | TGParser.cpp |
Dan Gohman | d7546ab | 2008-11-03 17:56:27 +0000 | [diff] [blame] | 23 | TGValueTypes.cpp |
Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 24 | TableGen.cpp |
| 25 | TableGenBackend.cpp |
Oscar Fuentes | a229b3c | 2008-09-22 01:08:49 +0000 | [diff] [blame] | 26 | ) |
| 27 | |
| 28 | target_link_libraries(tblgen LLVMSupport LLVMSystem) |
| 29 | if( MINGW ) |
| 30 | target_link_libraries(tblgen imagehlp psapi) |
| 31 | endif( MINGW ) |
Oscar Fuentes | 770c8e7 | 2009-05-22 20:55:15 +0000 | [diff] [blame] | 32 | if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD ) |
| 33 | target_link_libraries(tblgen pthread) |
| 34 | endif() |