Skip to content

Commit

Permalink
Merge branch 'master' of github.com:akiraux/Akira
Browse files Browse the repository at this point in the history
  • Loading branch information
Alecaddd committed Aug 4, 2020
2 parents 45b0019 + 7cd07d7 commit b5c67f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
6 changes: 5 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ project('com.github.akiraux.akira', 'vala', 'c')
akira_prefix = get_option('prefix')
akira_datadir = join_paths(akira_prefix, get_option('datadir'))
akira_pkgdatadir = join_paths(akira_datadir, meson.project_name())
install_tests = get_option('install-tests')

vala_version = meson.get_compiler('vala').version()
if vala_version.version_compare('<=0.43.90')
Expand Down Expand Up @@ -67,6 +68,9 @@ add_global_arguments(['-DG_LOG_DOMAIN="Akira"'], language:'c')
subdir('src')
subdir('data')
subdir('po')
subdir('tests')

if install_tests
subdir('tests')
endif

meson.add_install_script('build-aux/meson/post_install.py')
13 changes: 4 additions & 9 deletions meson_options.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
option(
'profile',
type: 'combo',
choices: [
'default',
'development'
],
value: 'default'
)
option('profile', type: 'combo', choices: ['default', 'development'], value: 'default')

option('install-tests', type : 'boolean', value : 'false',
description : 'install test executables')

0 comments on commit b5c67f2

Please sign in to comment.