diff options
Diffstat (limited to 'utils/TableGen/CMakeLists.txt')
-rw-r--r-- | utils/TableGen/CMakeLists.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt new file mode 100644 index 000000000000..3f982e0c77ae --- /dev/null +++ b/utils/TableGen/CMakeLists.txt @@ -0,0 +1,32 @@ +add_executable(tblgen + AsmWriterEmitter.cpp + CallingConvEmitter.cpp + ClangDiagnosticsEmitter.cpp + CodeEmitterGen.cpp + CodeGenDAGPatterns.cpp + CodeGenInstruction.cpp + CodeGenTarget.cpp + DAGISelEmitter.cpp + FastISelEmitter.cpp + InstrEnumEmitter.cpp + InstrInfoEmitter.cpp + IntrinsicEmitter.cpp + LLVMCConfigurationEmitter.cpp + Record.cpp + RegisterInfoEmitter.cpp + SubtargetEmitter.cpp + TGLexer.cpp + TGParser.cpp + TGSourceMgr.cpp + TGValueTypes.cpp + TableGen.cpp + TableGenBackend.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() |