Require c++11 thread_local support (#860)
[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 ${Boost_LIBRARIES} ${ElfUtils_LIBRARIES})