meson: rename "enable-backend" option to "orc-backend"
authorTim-Philipp Müller <tim@centricular.com>
Wed, 3 Oct 2018 09:31:47 +0000 (10:31 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 3 Oct 2018 09:31:47 +0000 (10:31 +0100)
More consistent with the Meson option naming conventions.

meson.build
meson_options.txt

index 7343175..25d048a 100644 (file)
@@ -43,7 +43,7 @@ cdata.set('ORC_API_EXPORT', export_define)
 
 all_backends = ['sse', 'mmx', 'altivec', 'neon', 'mips', 'c64x'] # 'arm'
 
-backend = get_option('enable-backend')
+backend = get_option('orc-backend')
 foreach b : all_backends
   if backend == 'all' or backend == b
     cdata.set('ENABLE_BACKEND_' + b.to_upper(), 1)
index 2e99f33..278e177 100644 (file)
@@ -1,4 +1,4 @@
-option('enable-backend', type : 'combo', choices : ['sse', 'mmx', 'neon', 'mips', 'altivec', 'c64x', 'all'], value : 'all')
+option('orc-backend', type : 'combo', choices : ['sse', 'mmx', 'neon', 'mips', 'altivec', 'c64x', 'all'], value : 'all')
 
 # Common feature options
 option('benchmarks', type : 'feature', value : 'auto', yield : true)