-
-
Notifications
You must be signed in to change notification settings - Fork 508
Expand file tree
/
Copy pathmeson.build
More file actions
27 lines (24 loc) · 684 Bytes
/
meson.build
File metadata and controls
27 lines (24 loc) · 684 Bytes
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
project('etl',
['cpp'],
default_options : [
'warning_level=2',
'werror=false',
# `build.*` options affect `native: true targets`
# plain options affect `native: false` targets.
'cpp_std=c++17', 'build.cpp_std=c++17',
],
meson_version: '>=0.57.0',
version: files('version.txt')
)
compile_args = []
if not get_option('use_stl')
compile_args += '-DETL_NO_STL'
endif
etl_dep = declare_dependency(
include_directories: include_directories('include'),
compile_args: compile_args
)
# Only register tests with the test runner when built as a primary project
if meson.is_subproject() == false
subdir('test')
endif