Initialize CMake.

This commit is contained in:
Joshua Vega 2026-01-14 17:31:26 -05:00
parent fdbfeaa4ee
commit f1087a5c83
3 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View file

@ -66,3 +66,4 @@ CTestTestfile.cmake
_deps
CMakeUserPresets.json
nfgen

9
CMakeLists.txt Normal file
View file

@ -0,0 +1,9 @@
CMAKE_MINIMUM_REQUIRED(VERSION 4.0)
PROJECT(nfgen LANGUAGES C)
SET(SOURCE_FILES
main.c
)
ADD_EXECUTABLE(nfgen ${SOURCE_FILES})

6
main.c Normal file
View file

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