diff options
author | 2019-10-24 14:34:19 +0300 | |
---|---|---|
committer | 2019-10-24 14:34:19 +0300 | |
commit | 84cec7dc2c645e4d1bbab8e8496c4f6cd9562989 (patch) | |
tree | 6635355e3d9dbe435bffdd943a29468d6a94f14d /src | |
parent | 69933c5b521eacd968c4d78ad769ea7a3d6b872f (diff) | |
download | librin-84cec7dc2c645e4d1bbab8e8496c4f6cd9562989.tar.gz librin-84cec7dc2c645e4d1bbab8e8496c4f6cd9562989.tar.bz2 librin-84cec7dc2c645e4d1bbab8e8496c4f6cd9562989.zip |
remove pointless options.
Less maintenence burden, especially since modules start
using one another, complicating build requirements otherwise.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
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) |