build: possibility to disable tests

The configuration option --disable-examples will disable the compilation of
the sample apps in tests/ directory.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-02-03 20:34:49 +01:00
parent d4f00383ed
commit 45145d73dd
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,12 @@
ACLOCAL_AMFLAGS = -I m4 -I common/m4
SUBDIRS = gst-libs gst tests m4 common docs
if BUILD_EXAMPLES
SUBDIRS_TESTS = tests
else
SUBDIRS_TESTS =
endif
SUBDIRS = gst-libs gst $(SUBDIRS_TESTS) m4 common docs
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc

View file

@ -112,6 +112,8 @@ AG_GST_ARG_DISABLE_FATAL_WARNINGS
AG_GST_ARG_ENABLE_EXTRA_CHECKS
AG_GST_ARG_DEBUG
AG_GST_ARG_EXAMPLES
AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],