]> git.ipfire.org Git - thirdparty/libatasmart.git/commitdiff
Rename build options.
authorAntonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Sun, 9 Nov 2025 11:46:19 +0000 (12:46 +0100)
committerAntonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Sun, 9 Nov 2025 11:46:19 +0000 (12:46 +0100)
meson.build
meson_options.txt
src/atasmart/meson.build
tools/strpool/meson.build

index e354b7cf0a26588f0038c711c504d346b51c92cc..68b1bf115c3a38e24361c0b47a8fc38db51aedd8 100644 (file)
@@ -8,6 +8,6 @@ project('libatasmart', 'c',
 
 subdir('tools')
 
-if get_option('enable_src_build')
+if get_option('src_build')
   subdir('src')
 endif
index 0faac63b7f52ce9c1b8c96eadf9bc9f134cb5e7c..f7fe2e56c268a77271813c42a24d70c6d8ed55f6 100644 (file)
@@ -1,16 +1,16 @@
-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.'
index fa7bca65d35ef189e924c3f42e4c84c21b2c2f69..31b097c342d13a30343ad3f260912299837dfa34 100644 (file)
@@ -6,7 +6,7 @@ pkg_mod = import('pkgconfig')
 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',
index 183572d03d158d85c583d6e0633e1eac7e89edf9..94e4641d66ae81d0b5c8ddedc1401ea1536348e5 100644 (file)
@@ -1,8 +1,8 @@
 # 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