include_guard(GLOBAL) include(DyninstLibrary) if(NOT DYNINST_OS_UNIX) if(NOT TARGET dynDwarf) add_library(dynDwarf INTERFACE) endif() return() endif() set(_public_headers h/dwarfExprParser.h h/dwarfFrameParser.h h/dwarfHandle.h h/dwarfResult.h h/dwarf_unit_info.h) set(_sources src/dwarfResult.C src/dwarfExprParser.C src/dwarfFrameParser.C src/dwarfHandle.C src/dwarf_subrange.cpp) # cmake-format: off dyninst_library( dynDwarf PUBLIC_HEADER_FILES ${_public_headers} SOURCE_FILES ${_sources} DEFINES DYNDWARF_LIB DYNINST_DEPS dynElf common PUBLIC_DEPS PRIVATE_DEPS Dyninst::ElfUtils ) # cmake-format: on