]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add cmake enviroment
authorBastian Dehn <hhaalo@arcor.de>
Thu, 18 Jan 2024 18:11:10 +0000 (19:11 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Thu, 18 Jan 2024 18:34:11 +0000 (19:34 +0100)
.gitignore [new file with mode: 0644]
CMakeLists.txt [new file with mode: 0644]
src/kds_s2000w_net.c [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..378eac2
--- /dev/null
@@ -0,0 +1 @@
+build
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ad3a3df
--- /dev/null
@@ -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 (file)
index 0000000..0d9185c
--- /dev/null
@@ -0,0 +1,2 @@
+#include <sane/sane.h>
+