mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
meson: add "develop mode" config switch
This commit is contained in:
parent
c87d0661a0
commit
839bdf2505
@ -38,6 +38,9 @@ relative_source_path = run_command('realpath',
|
|||||||
project_source_root).stdout().strip()
|
project_source_root).stdout().strip()
|
||||||
conf.set_quoted('RELATIVE_SOURCE_PATH', relative_source_path)
|
conf.set_quoted('RELATIVE_SOURCE_PATH', relative_source_path)
|
||||||
|
|
||||||
|
conf.set10('DEVELOPER_MODE', get_option('mode') == 'developer',
|
||||||
|
description : 'enable additional checks only suitable in development')
|
||||||
|
|
||||||
want_ossfuzz = get_option('oss-fuzz')
|
want_ossfuzz = get_option('oss-fuzz')
|
||||||
want_libfuzzer = get_option('llvm-fuzz')
|
want_libfuzzer = get_option('llvm-fuzz')
|
||||||
if want_ossfuzz + want_libfuzzer > 1
|
if want_ossfuzz + want_libfuzzer > 1
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
option('version-tag', type : 'string',
|
option('version-tag', type : 'string',
|
||||||
description : 'override the git version string')
|
description : 'override the git version string')
|
||||||
|
|
||||||
|
option('mode', type : 'combo', choices : ['default', 'developer'],
|
||||||
|
description : 'enable additional checks suitable for systemd development')
|
||||||
|
|
||||||
option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
|
option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
|
||||||
description : '''/bin, /sbin aren't symlinks into /usr''')
|
description : '''/bin, /sbin aren't symlinks into /usr''')
|
||||||
option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
|
option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
|
||||||
|
Loading…
Reference in New Issue
Block a user