Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
[llvm/avr.git] / utils / TableGen / CMakeLists.txt
blobe568c62795db3d9e17fc0dfb42822831ff58e2d0
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   )
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()