From 2c2972eb79f0ac59fce7c26746a2300f828af07b Mon Sep 17 00:00:00 2001 From: Evy Garden <julian.storozhenko@tu-dortmund.de> Date: Sun, 10 Sep 2023 16:32:30 +0200 Subject: [PATCH] added example code --- .gitignore | 3 +++ CMakeLists.txt | 6 ++++++ src/main.c | 6 ++++++ 3 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 src/main.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..089e6c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# CMake +/.cache +/build \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..7fa65b1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 3.0.0) +project(bs-tutorial-ssh LANGUAGES C VERSION 1.0.0) + +add_executable(main + ${PROJECT_SOURCE_DIR}/src/main.c +) \ No newline at end of file diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..7785b78 --- /dev/null +++ b/src/main.c @@ -0,0 +1,6 @@ +#include <stdio.h> + +int main() { + printf("hey there, World ^^\n"); + return 0; +} \ No newline at end of file -- GitLab