WIP commit
[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   ${PROJECT_SOURCE_DIR}/dwarf/src
9   )
10
11 set (SRC_LIST
12      src/dwarfResult.C
13      src/dwarfExprParser.C
14      src/dwarfFrameParser.C
15      src/dwarfHandle.C
16   )
17
18 add_library (dynDwarf ${SRC_LIST})
19 target_link_libraries (dynDwarf ${LIBDWARF_LIBRARIES})
20
21 INSTALL (DIRECTORY h/ DESTINATION include FILES_MATCHING PATTERN "*.h")
22 INSTALL (TARGETS dynDwarf
23         LIBRARY DESTINATION lib)
24