mirror of https://github.com/odrling/Aegisub
add option to disable tests
This commit is contained in:
parent
9ef7feab55
commit
39da678257
|
@ -424,8 +424,11 @@ subdir('po')
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
|
||||||
if not meson.is_cross_build()
|
if not meson.is_cross_build()
|
||||||
|
if get_option('tests')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
aegisub_cpp_pch = ['src/include/agi_pre.h']
|
aegisub_cpp_pch = ['src/include/agi_pre.h']
|
||||||
aegisub_c_pch = ['src/include/agi_pre_c.h']
|
aegisub_c_pch = ['src/include/agi_pre_c.h']
|
||||||
|
|
|
@ -29,3 +29,4 @@ option('update_url', type: 'string', value: '/trunk', description: 'Base path to
|
||||||
|
|
||||||
option('build_osx_bundle', type: 'boolean', value: 'false', description: 'Package Aegisub.app on OSX')
|
option('build_osx_bundle', type: 'boolean', value: 'false', description: 'Package Aegisub.app on OSX')
|
||||||
option('build_appimage', type: 'boolean', value: 'false', description: 'Prepare for AppImage packaging')
|
option('build_appimage', type: 'boolean', value: 'false', description: 'Prepare for AppImage packaging')
|
||||||
|
option('tests', type: 'boolean', value: 'true', description: 'Tests')
|
||||||
|
|
Loading…
Reference in New Issue