11project (' x86-simd-sort' , ' cpp' ,
2- version : ' 2 .0.0' ,
2+ version : ' 4 .0.0' ,
33 license : ' BSD 3-clause' ,
44 default_options : [' cpp_std=c++17' ])
55cpp = meson .get_compiler(' cpp' )
@@ -25,8 +25,16 @@ libsimdsort = shared_library('x86simdsort',
2525 include_directories : [utils, lib],
2626 link_with : [libtargets],
2727 cpp_args : [flags_hide_symbols],
28+ install : true ,
2829 )
2930
31+ pkg_mod = import (' pkgconfig' )
32+ pkg_mod.generate(libraries : libsimdsort,
33+ version : ' 4.0' ,
34+ name : ' libx86simdsort' ,
35+ filebase : ' x86simdsort' ,
36+ description : ' High performance SIMD based sorting routines.' )
37+
3038# Build test suite if option build_tests set to true
3139if get_option (' build_tests' )
3240 gtest_dep = dependency (' gtest_main' , required : true , static : false )
@@ -37,6 +45,7 @@ if get_option('build_tests')
3745 link_whole : [libtests],
3846 link_with : libsimdsort,
3947 )
48+ test (' x86 simd sort tests' , testexe)
4049endif
4150
4251# Build benchmarking suite if option build_benchmarks is set to true
0 commit comments