diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/diagnostic/meson.build | 12 | ||||
-rw-r--r-- | src/float/meson.build | 12 | ||||
-rw-r--r-- | src/time/meson.build | 14 |
3 files changed, 13 insertions, 25 deletions
diff --git a/src/diagnostic/meson.build b/src/diagnostic/meson.build index 5f066c1..11ea1f9 100644 --- a/src/diagnostic/meson.build +++ b/src/diagnostic/meson.build @@ -1,10 +1,6 @@ -if get_option('diagnostic') - diagnostic_filenames = [ - 'diagnostic.c', - 'diagnostic_private.h', - ] -else - diagnostic_filenames = [] -endif +diagnostic_filenames = [ + 'diagnostic.c', + 'diagnostic_private.h', +] diagnostic_sources = files(diagnostic_filenames) diff --git a/src/float/meson.build b/src/float/meson.build index 129053e..76256ba 100644 --- a/src/float/meson.build +++ b/src/float/meson.build @@ -1,10 +1,6 @@ -if get_option('float') - float_filenames = [ - 'float.c', - 'float_private.h', - ] -else - float_filenames = [] -endif +float_filenames = [ + 'float.c', + 'float_private.h', +] float_sources = files(float_filenames) diff --git a/src/time/meson.build b/src/time/meson.build index 5a6d9cc..ce638ce 100644 --- a/src/time/meson.build +++ b/src/time/meson.build @@ -1,11 +1,7 @@ -if get_option('time') - time_filenames = [ - 'benchmark.c', - 'time.c', - 'time_private.h', - ] -else - time_filenames = [] -endif +time_filenames = [ + 'benchmark.c', + 'time.c', + 'time_private.h', +] time_sources = files(time_filenames) |