Create src/tests
This commit is contained in:
committed by
Keith Winstein
parent
3b61581bcd
commit
fe34cb3809
@@ -54,6 +54,12 @@ AC_ARG_ENABLE([server],
|
|||||||
[build_server="yes"])
|
[build_server="yes"])
|
||||||
AM_CONDITIONAL([BUILD_SERVER], [test x"$build_server" != xno])
|
AM_CONDITIONAL([BUILD_SERVER], [test x"$build_server" != xno])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([tests],
|
||||||
|
[AS_HELP_STRING([--enable-tests], [Build tests])],
|
||||||
|
[build_tests="$enableval"],
|
||||||
|
[build_tests="no"])
|
||||||
|
AM_CONDITIONAL([BUILD_TESTS], [test x"$build_tests" != xno])
|
||||||
|
|
||||||
AC_ARG_ENABLE([examples],
|
AC_ARG_ENABLE([examples],
|
||||||
[AS_HELP_STRING([--enable-examples], [Build the miscellaneous programs in src/examples @<:@no@:>@])],
|
[AS_HELP_STRING([--enable-examples], [Build the miscellaneous programs in src/examples @<:@no@:>@])],
|
||||||
[build_examples="$enableval"],
|
[build_examples="$enableval"],
|
||||||
@@ -200,6 +206,7 @@ AC_CONFIG_FILES([
|
|||||||
src/util/Makefile
|
src/util/Makefile
|
||||||
scripts/Makefile
|
scripts/Makefile
|
||||||
src/examples/Makefile
|
src/examples/Makefile
|
||||||
|
src/tests/Makefile
|
||||||
man/Makefile
|
man/Makefile
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
SUBDIRS = protobufs util crypto terminal network statesync frontend examples
|
SUBDIRS = protobufs util crypto terminal network statesync frontend examples tests
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(PICKY_CXXFLAGS) -fno-default-inline -pipe
|
||||||
Reference in New Issue
Block a user