Initialize CMake.
This commit is contained in:
parent
fdbfeaa4ee
commit
f1087a5c83
3 changed files with 16 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -66,3 +66,4 @@ CTestTestfile.cmake
|
|||
_deps
|
||||
CMakeUserPresets.json
|
||||
|
||||
nfgen
|
||||
|
|
|
|||
9
CMakeLists.txt
Normal file
9
CMakeLists.txt
Normal 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
6
main.c
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
printf("Hello world!\n");
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue