From e6ec99ad5db9eca1dcd3f04ccdd8971c18f4a761 Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Thu, 19 Mar 2026 20:39:03 +0000 Subject: [PATCH] init --- .gitignore | 13 +++++++++++++ CMakeLists.txt | 4 ++++ src/main.c | 6 ++++++ 3 files changed, 23 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..c9c50bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +CMakeLists.txt.user +CMakeCache.txt +CMakeFiles +CMakeScripts +Testing +Makefile +cmake_install.cmake +install_manifest.txt +compile_commands.json +CTestTestfile.cmake +_deps +CMakeUserPresets.json +build diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..952bd31 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,4 @@ +cmake_minimum_required(VERSION 3.10) +project(HelloWorld C) + +add_executable(hello src/main.c) diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..f26b97c --- /dev/null +++ b/src/main.c @@ -0,0 +1,6 @@ +#include + +int main() { + printf("Hello, World!\n"); + return 0; +}