CMake initial WIP commit
[dyninst.git] / instructionAPI / CMakeLists.txt
1 # CMake configuration for instructionAPI directory
2
3 include_directories (
4     ${PROJECT_SOURCE_DIR}/instructionAPI/src
5   )
6
7
8 set (SRC_LIST
9      src/Instruction.C 
10      src/InstructionAST.C 
11      src/Operation.C 
12      src/Operand.C 
13      src/Register.C 
14      src/Expression.C 
15      src/BinaryFunction.C 
16      src/InstructionCategories.C 
17      src/Immediate.C 
18      src/InstructionDecoder.C 
19      src/InstructionDecoder-power.C 
20      src/InstructionDecoderImpl.C
21   )
22
23 add_library (instructionAPI ${SRC_LIST})
24
25 FILE (GLOB includes "${CMAKE_CURRENT_SOURCE_DIR}/h")
26 INSTALL (FILES ${includes} DESTINATION include)