add hello world and meson
This commit is contained in:
parent
08106f3c72
commit
4127d978d2
|
@ -0,0 +1,13 @@
|
||||||
|
project('cg1', 'c')
|
||||||
|
|
||||||
|
src_files = [
|
||||||
|
'./src/main.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
executable('cg1',
|
||||||
|
src_files,
|
||||||
|
dependencies: [
|
||||||
|
dependency('GL'),
|
||||||
|
dependency('glfw3')
|
||||||
|
]
|
||||||
|
)
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char const *argv[])
|
||||||
|
{
|
||||||
|
printf("Hello World!\n");
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue