Teach TableGen to evaluate DAG expressions as set operations.
[oota-llvm.git] / utils / TableGen / CMakeLists.txt
1 set(LLVM_REQUIRES_EH 1)
2 set(LLVM_REQUIRES_RTTI 1)
3
4 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR})
5
6 add_llvm_utility(tblgen
7   ARMDecoderEmitter.cpp
8   AsmMatcherEmitter.cpp
9   AsmWriterEmitter.cpp
10   AsmWriterInst.cpp
11   CallingConvEmitter.cpp
12   ClangASTNodesEmitter.cpp
13   ClangAttrEmitter.cpp
14   ClangDiagnosticsEmitter.cpp
15   ClangSACheckersEmitter.cpp
16   CodeEmitterGen.cpp
17   CodeGenDAGPatterns.cpp
18   CodeGenInstruction.cpp
19   CodeGenTarget.cpp
20   DAGISelEmitter.cpp
21   DAGISelMatcherEmitter.cpp
22   DAGISelMatcherGen.cpp
23   DAGISelMatcherOpt.cpp
24   DAGISelMatcher.cpp
25   DisassemblerEmitter.cpp
26   EDEmitter.cpp
27   FastISelEmitter.cpp
28   FixedLenDecoderEmitter.cpp
29   InstrEnumEmitter.cpp
30   InstrInfoEmitter.cpp
31   IntrinsicEmitter.cpp
32   LLVMCConfigurationEmitter.cpp
33   NeonEmitter.cpp
34   OptParserEmitter.cpp
35   Record.cpp
36   RegisterInfoEmitter.cpp
37   SetTheory.cpp
38   StringMatcher.cpp
39   SubtargetEmitter.cpp
40   TGLexer.cpp
41   TGParser.cpp
42   TGValueTypes.cpp
43   TableGen.cpp
44   TableGenBackend.cpp
45   X86DisassemblerTables.cpp
46   X86RecognizableInstr.cpp
47   )
48
49 target_link_libraries(tblgen LLVMSupport)
50 if( MINGW )
51   target_link_libraries(tblgen imagehlp psapi)
52 endif( MINGW )
53 if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS )
54   target_link_libraries(tblgen pthread)
55 endif()
56
57 install(TARGETS tblgen RUNTIME DESTINATION bin)