This commit is contained in:
2025-11-16 17:27:53 -08:00
commit 8e1842d412
9 changed files with 93 additions and 0 deletions

10
tools/CMakeLists.txt Normal file
View File

@@ -0,0 +1,10 @@
add_executable(edbg edbg.cpp)
target_link_libraries(edbg PRIVATE edbg::libedbg)
include(GNUInstallDirs)
install(
TARGETS edbg
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
target_link_libraries(edbg PRIVATE edbg::libedbg PkgConfig::libedit)

5
tools/edbg.cpp Normal file
View File

@@ -0,0 +1,5 @@
#include <libedbg/libedbg.hpp>
int main() {
edbg::hello();
}