]> gitweb.hhaalo.de Git - ringbuffer.git/commitdiff
add: default cmake configuration
authorBastian Dehn <hhaalo@arcor.de>
Sun, 24 Apr 2022 13:06:31 +0000 (15:06 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 24 Apr 2022 13:06:31 +0000 (15:06 +0200)
.gitignore [new file with mode: 0644]
CMakeLists.txt [new file with mode: 0644]
ringbuffer.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..2eeaaa0
--- /dev/null
@@ -0,0 +1,5 @@
+cmake_minimum_required(VERSION 3.18.4)
+
+project(ringbuffer)
+
+add_executable(ringbuffer ringbuffer.c)
diff --git a/ringbuffer.c b/ringbuffer.c
new file mode 100644 (file)
index 0000000..f6f42f2
--- /dev/null
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main()
+{
+       printf("Hello World!\n");
+       return 0;       
+}