Skip to content

Commit

Permalink
meson: Add option to toggle test builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 authored and arch1t3cht committed Mar 3, 2025
1 parent 86e8c45 commit 18175e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ subdir('libaegisub')
subdir('packages')
subdir('po')
subdir('src')
subdir('tests')
if get_option('tests')
subdir('tests')
endif

aegisub_cpp_pch = ['src/include/agi_pre.h']
aegisub_c_pch = ['src/include/agi_pre_c.h']
Expand Down
2 changes: 2 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ option('update_server', type: 'string', value: 'https://aegisub-updates.redvice.
option('update_url', type: 'string', value: '/trunk', description: 'Base path to use for the update checker')

option('build_osx_bundle', type: 'boolean', value: false, description: 'Package Aegisub.app on OSX')

option('tests', type: 'boolean', value: true, description: 'Build tests')

0 comments on commit 18175e4

Please sign in to comment.