forked from intel/x86-simd-sort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
32 lines (30 loc) · 1.04 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
project('x86-simd-sort', 'c', 'cpp',
version : '1.0.0',
license : 'BSD 3-clause')
cc = meson.get_compiler('c')
cpp = meson.get_compiler('cpp')
src = include_directories('./src')
bench = include_directories('./benchmarks')
utils = include_directories('./utils')
tests = include_directories('./tests')
gtest_dep = dependency('gtest', fallback : ['gtest', 'gtest_dep'])
subdir('./tests')
testexe = executable('testexe', 'tests/main.cpp',
dependencies : gtest_dep,
link_whole : [
libtests,
]
)
benchexe = executable('benchexe', 'benchmarks/main.cpp',
include_directories : [
src,
utils,
bench,
],
cpp_args : [
'-O3',
'-march=icelake-client',
],
dependencies : [],
link_whole : [],
)