init
This commit is contained in:
10
tools/CMakeLists.txt
Normal file
10
tools/CMakeLists.txt
Normal 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
5
tools/edbg.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <libedbg/libedbg.hpp>
|
||||
|
||||
int main() {
|
||||
edbg::hello();
|
||||
}
|
||||
Reference in New Issue
Block a user