To just build libdwarf and dwarfdump, if the source tree is in /a/b/libdwarf-1
To build using CMake one might do
cd /a/b/libdwarf-1
configure: cmake . -B_Release -DCMAKE_BUILD_TYPE=Release
build: cmake --build _Release --target dd
(optionally install): sudo cmake --build _Release --target install