From 82e8172f6cbf5e15913335d49bab9418abfd118e Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 2 Mar 2024 13:47:43 +0100 Subject: [PATCH] add read config tool --- tools/CMakeLists.txt | 8 +++++--- tools/read_config.c | 7 +++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 tools/read_config.c diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 208b323..d31d605 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,7 +1,9 @@ cmake_minimum_required(VERSION 3.25.1) -find_package(ImageMagick COMPONENTS MagickCore REQUIRED) - add_executable("convert" "convert.c") add_dependencies("convert" sane-kds_s2000w_net) -target_link_libraries("convert" sane-kds_s2000w_net) \ No newline at end of file +target_link_libraries("convert" sane-kds_s2000w_net) + +add_executable("read_config" "read_config.c") +add_dependencies("read_config" sane-kds_s2000w_net) +target_link_libraries("read_config" sane-kds_s2000w_net) \ No newline at end of file diff --git a/tools/read_config.c b/tools/read_config.c new file mode 100644 index 0000000..15e7fee --- /dev/null +++ b/tools/read_config.c @@ -0,0 +1,7 @@ +#include + +int main() +{ + printf("Hello read config\n"); + return 0; +} \ No newline at end of file -- 2.39.5