buildsys: add option to enable/disable building the examples
In a production system, the examples are not needed. Add a configure option to disable building the examples. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
# Generic definitions
|
||||
SUBDIRS = lib doc utils examples
|
||||
SUBDIRS = lib doc utils
|
||||
if BUILD_TEST_TOOL
|
||||
SUBDIRS += test-tool
|
||||
endif
|
||||
if BUILD_TESTS
|
||||
SUBDIRS += tests
|
||||
endif
|
||||
if BUILD_EXAMPLES
|
||||
SUBDIRS += examples
|
||||
endif
|
||||
|
||||
ACLOCAL_AMFLAGS =-I m4
|
||||
AUTOMAKE_OPTIONS = foreign subdir-objects
|
||||
|
||||
Reference in New Issue
Block a user