Move advanced build instructions and FAQ to wiki
[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 add_dependencies(dynDwarf ElfUtils)
25 target_link_private_libraries(dynDwarf ${ElfUtils_LIBRARIES})
26
27 if (USE_COTIRE)
28     cotire(dynDwarf)
29 endif()