description : 'package name to use in plugins')
option('with-package-origin', type : 'string', value : 'Unknown package origin',
description : 'package origin URL to use in plugins')
+option('tests', type : 'boolean', value : true,
+ description : 'Build and enable unit tests')
+option('examples', type : 'boolean', value : true,
+ description : 'Build the examples')
if host_machine.system() != 'windows'
subdir('check')
endif
+
+test_cleanup_exe = executable('test-cleanup', 'test-cleanup.c',
+ dependencies: gst_rtsp_server_dep)
+
+test_reuse_exe = executable('test-reuse', 'test-reuse.c',
+ dependencies: gst_rtsp_server_dep)
+
+test('test-cleanup', test_cleanup_exe)
+test('test-reuse', test_reuse_exe)