2020-11-10 16:23:02 +01:00
|
|
|
project(
|
|
|
|
'buddhabrot',
|
|
|
|
'c',
|
|
|
|
version : '0.1',
|
|
|
|
default_options : [
|
|
|
|
'warning_level=3',
|
|
|
|
'c_std=c99',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
sources = [
|
2020-11-10 16:31:32 +01:00
|
|
|
'src/image.c',
|
2020-11-10 16:23:02 +01:00
|
|
|
'src/main.c',
|
2020-11-10 18:22:26 +01:00
|
|
|
'src/mandelbrot.c',
|
2020-11-10 17:25:43 +01:00
|
|
|
'src/options.c',
|
2020-11-10 16:31:32 +01:00
|
|
|
'src/ppm.c',
|
2020-11-10 16:23:02 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'buddhabrot',
|
|
|
|
sources : sources,
|
2020-11-10 17:25:43 +01:00
|
|
|
c_args : '-D_XOPEN_SOURCE',
|
2020-11-10 16:23:02 +01:00
|
|
|
)
|