CMake initial WIP commit
[dyninst.git] / parseAPI / CMakeLists.txt
1 # CMake configuration for parseAPI directory
2
3 include_directories (
4     ${PROJECT_SOURCE_DIR}/parseAPI/src
5   )
6
7
8 set (SRC_LIST
9         src/ParserDetails.C 
10         src/Parser.C 
11         src/CFGFactory.C 
12         src/Function.C 
13         src/Block.C 
14         src/CodeObject.C 
15         src/debug_parse.C 
16         src/CodeSource.C 
17         src/ParseData.C
18         src/InstructionAdapter.C
19         src/Parser-speculative.C
20         src/ParseCallback.C 
21         src/IA_x86Details.C 
22         src/IA_powerDetails.C 
23         src/IA_platformDetailsFactory.C 
24         src/CFGModifier.C
25         src/SymLiteCodeSource.C
26         src/StackTamperVisitor.C
27         ../dataflowAPI/src/ABI.C 
28         ../dataflowAPI/src/Absloc.C 
29         ../dataflowAPI/src/AbslocInterface.C 
30         ../dataflowAPI/src/convertOpcodes.C 
31         ../dataflowAPI/src/debug_dataflow.C 
32         ../dataflowAPI/src/ExpressionConversionVisitor.C 
33         ../dataflowAPI/src/InstructionCache.C 
34         ../dataflowAPI/src/liveness.C 
35         ../dataflowAPI/src/RegisterMap.C 
36         ../dataflowAPI/src/RoseImpl.C 
37         ../dataflowAPI/src/RoseInsnFactory.C 
38         ../dataflowAPI/src/slicing.C 
39         ../dataflowAPI/src/stackanalysis.C 
40         ../dataflowAPI/src/SymbolicExpansion.C 
41         ../dataflowAPI/src/SymEval.C 
42         ../dataflowAPI/src/SymEvalPolicy.C 
43         ../dataflowAPI/src/templates.C 
44         ../dataflowAPI/src/Visitors.C 
45     )
46
47 if (ENABLE_PARSE_API_GRAPHS)
48 set (SRC_LIST ${SRC_LIST}
49      src/GraphAdapter.C
50     )
51 endif()
52
53 if (NOT WITHOUT_SYMTAB_API)
54 set (SRC_LIST ${SRC_LIST}
55     src/SymtabCodeSource.C
56     )
57 endif()
58
59
60 add_library (parseAPI ${SRC_LIST})