-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmeson.build
More file actions
24 lines (19 loc) · 806 Bytes
/
meson.build
File metadata and controls
24 lines (19 loc) · 806 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
project('sparkle-cdm', ['c', 'cpp'],
version: '0.1.0',
meson_version: '>= 0.58',
default_options: [ 'warning_level=2',
'cpp_std=c++17',
'buildtype=debugoptimized'
],
)
config_h = configuration_data()
config_h.set_quoted('PACKAGE', meson.project_name())
config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
config_h.set_quoted('EXTERNAL_MODULE_PATH', get_option('prefix') / get_option('libdir') / 'sparkle-cdm')
configure_file(output: 'sparkle-cdm-config.h',
configuration: config_h)
add_project_arguments(['-I' + meson.build_root()], language: 'cpp')
subdir('src')
subdir('examples')
summary({'Example DASH player': get_option('sample-player'),
'ClearKey module': get_option('clearkey-module')})