This commit is contained in:
Grace Yoder 2026-03-19 20:39:03 +00:00
commit e6ec99ad5d
3 changed files with 23 additions and 0 deletions

13
.gitignore vendored Normal file
View file

@ -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

4
CMakeLists.txt Normal file
View file

@ -0,0 +1,4 @@
cmake_minimum_required(VERSION 3.10)
project(HelloWorld C)
add_executable(hello src/main.c)

6
src/main.c Normal file
View file

@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}