34 lines
552 B
Meson
34 lines
552 B
Meson
|
project(
|
||
|
'rest-in-dust',
|
||
|
'cpp',
|
||
|
version: '0.0.0',
|
||
|
default_options: [
|
||
|
'warning_level=3',
|
||
|
'cpp_std=c++17',
|
||
|
]
|
||
|
)
|
||
|
|
||
|
datadir = get_option('prefix') / get_option('datadir') / 'rest_in_dust'
|
||
|
|
||
|
conf = configuration_data()
|
||
|
conf.set('version', meson.project_version())
|
||
|
conf.set('datadir', datadir)
|
||
|
|
||
|
configure_file(
|
||
|
input: 'src/conf.in.hpp',
|
||
|
output: 'conf.hpp',
|
||
|
configuration: conf
|
||
|
)
|
||
|
|
||
|
executable(
|
||
|
'rest-in-dust',
|
||
|
sources: [
|
||
|
'src/main.cpp',
|
||
|
],
|
||
|
dependencies: [
|
||
|
],
|
||
|
install: true
|
||
|
)
|
||
|
|
||
|
install_subdir('assets', install_dir: datadir)
|