d396c67f26
Our copy of googletest is rather stale, and causes a number of -Werror warnings about implicit copy constructor definitions being deprecated, because several classes have user-declared copy assignment operators. Silence the warnings until we either upgrade or remove googletest. MFC after: 3 days
16 lines
418 B
Makefile
16 lines
418 B
Makefile
# $FreeBSD$
|
|
|
|
.include <googletest.test.inc.mk>
|
|
|
|
GTEST_DIR= ${SRCTOP}/contrib/googletest
|
|
GOOGLEMOCK_SRCROOT= ${GTEST_DIR}/googlemock
|
|
GOOGLETEST_SRCROOT= ${GTEST_DIR}/googletest
|
|
|
|
CXXFLAGS+= ${GTESTS_FLAGS}
|
|
|
|
# Silence warnings about usage of deprecated std::auto_ptr
|
|
CXXWARNFLAGS+= -Wno-deprecated-declarations
|
|
|
|
# Silence warnings about usage of deprecated implicit copy constructors
|
|
CXXWARNFLAGS+= -Wno-deprecated-copy
|