fix parseAPI/dataflowAPI warnings
[dyninst.git] / dwarf / CMakeLists.txt
1 # CMake configuration for dynDwarf (dwarf) directory
2
3 if (NOT UNIX)
4   return()
5 endif()
6
7 include_directories (
8   src
9   h
10   ${PROJECT_SOURCE_DIR}/elf/h
11   ${PROJECT_SOURCE_DIR}/common/src
12   )
13 add_definitions(-DDYNDWARF_LIB)
14
15 set (SRC_LIST
16      src/dwarfResult.C
17      src/dwarfExprParser.C
18      src/dwarfFrameParser.C
19      src/dwarfHandle.C
20   )
21
22
23 dyninst_library(dynDwarf dynElf common ${LIBDWARF_LIBRARIES})
24 if (USE_COTIRE)
25     cotire(dynDwarf)
26 endif()