From 1478b966a518ec43d0f116a14e4c69689f7f3d01 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Thu, 18 Jan 2024 19:11:10 +0100 Subject: [PATCH] add cmake enviroment --- .gitignore | 1 + CMakeLists.txt | 5 +++++ src/kds_s2000w_net.c | 2 ++ 3 files changed, 8 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 src/kds_s2000w_net.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ad3a3df --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,5 @@ +cmake_minimum_required(VERSION 3.25.1) + +project("kds_s2000w_net") + +add_library("sane-kds_s2000w_net" SHARED "src/kds_s2000w_net.c") \ No newline at end of file diff --git a/src/kds_s2000w_net.c b/src/kds_s2000w_net.c new file mode 100644 index 0000000..0d9185c --- /dev/null +++ b/src/kds_s2000w_net.c @@ -0,0 +1,2 @@ +#include + -- 2.39.5