forked from gnuradio/newsched
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeson.build
29 lines (23 loc) · 931 Bytes
/
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
# SPDX-FileCopyrightText: 2020 Josh Morman
#
project('newsched', 'cpp',
version : '0.0.0',
license : 'GPLv3',
default_options : ['cpp_std=c++17'])
cc = meson.get_compiler('cpp')
rt_dep = cc.find_library('rt', required : false)
cuda_available = add_languages('cuda', required : false)
boost_dep = dependency('boost', modules : ['program_options'], version : '>=1.65')
volk_dep = dependency('volk', version : '>=2.2')
yaml_dep = dependency('yaml-cpp', version : '>=0.6')
spdlog_dep = dependency('spdlog')
threads_dep = dependency('threads')
fmt_dep = dependency('fmt')
gtest_dep = dependency('gtest', main : true, version : '>=1.10', required : get_option('enable_testing'))
cuda_dep = dependency('cuda', version : '>=10.1', required : cuda_available and get_option('enable_cuda'))
flatc = find_program('flatc', version : '>=1.12')
subdir('pmt')
subdir('runtime')
subdir('blocklib')
subdir('schedulers')
subdir('docs')