1
1
project (' x86-simd-sort' , ' cpp' ,
2
- version : ' 2 .0.0' ,
2
+ version : ' 4 .0.0' ,
3
3
license : ' BSD 3-clause' ,
4
4
default_options : [' cpp_std=c++17' ])
5
5
cpp = meson .get_compiler(' cpp' )
@@ -25,8 +25,16 @@ libsimdsort = shared_library('x86simdsort',
25
25
include_directories : [utils, lib],
26
26
link_with : [libtargets],
27
27
cpp_args : [flags_hide_symbols],
28
+ install : true ,
28
29
)
29
30
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
+
30
38
# Build test suite if option build_tests set to true
31
39
if get_option (' build_tests' )
32
40
gtest_dep = dependency (' gtest_main' , required : true , static : false )
@@ -37,6 +45,7 @@ if get_option('build_tests')
37
45
link_whole : [libtests],
38
46
link_with : libsimdsort,
39
47
)
48
+ test (' x86 simd sort tests' , testexe)
40
49
endif
41
50
42
51
# Build benchmarking suite if option build_benchmarks is set to true
0 commit comments