build: initial Meson setup
This commit is contained in:
commit
f02ab2f8fd
19
meson.build
Normal file
19
meson.build
Normal file
|
@ -0,0 +1,19 @@
|
|||
project(
|
||||
'sudoku',
|
||||
'c',
|
||||
version : '0.1',
|
||||
default_options : [
|
||||
'warning_level=3',
|
||||
'c_std=c99',
|
||||
],
|
||||
)
|
||||
|
||||
sources = [
|
||||
'src/main.c',
|
||||
]
|
||||
|
||||
executable(
|
||||
'sudoku',
|
||||
sources : sources,
|
||||
c_args : '-D_POSIX_C_SOURCE=200809L',
|
||||
)
|
7
src/main.c
Normal file
7
src/main.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
puts("Hello world");
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue