subdir('tools')
-if get_option('enable_src_build')
+if get_option('src_build')
subdir('src')
endif
-option('enable_src_build',
+option('src_build',
type : 'boolean',
value : true,
description : 'Enables building of source.'
)
-option('enable_string_pooling',
+option('string_pooling',
type : 'boolean',
value : true,
description : 'Enables string pooling.'
)
-option('enable_strpool_build',
+option('strpool_build',
type : 'boolean',
value : true,
description : 'Enables building of host build tools.'
dep_udev = dependency('libudev', version : '>=143')
# Library definition
-if get_option('enable_string_pooling')
+if get_option('string_pooling')
src_atasmart = custom_target('atasmart_strpool',
input: 'atasmart.c',
output: 'atasmart_strpool.c',
# SPDX-License-Identifier: LGPL-2.1-or-later
# Author: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
-if get_option('enable_string_pooling')
- if get_option('enable_strpool_build')
+if get_option('string_pooling')
+ if get_option('strpool_build')
tool_strpool = executable('strpool',
sources: 'strpool.c')
else