Change MCOperand to use Create style instead of Make style for constructing
[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   FastISelEmitter.cpp
12   InstrEnumEmitter.cpp
13   InstrInfoEmitter.cpp
14   IntrinsicEmitter.cpp
15   LLVMCConfigurationEmitter.cpp
16   Record.cpp
17   RegisterInfoEmitter.cpp
18   SubtargetEmitter.cpp
19   TGLexer.cpp
20   TGParser.cpp
21   TGValueTypes.cpp
22   TableGen.cpp
23   TableGenBackend.cpp
24   )
25
26 target_link_libraries(tblgen LLVMSupport LLVMSystem)
27 if( MINGW )
28   target_link_libraries(tblgen imagehlp psapi)
29 endif( MINGW )
30 if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD )
31   target_link_libraries(tblgen pthread)
32 endif()