xref: /freebsd/share/mk/googletest.test.inc.mk (revision 0c785f06020f3b02e34c97eb27fecd3af8eb2a7b)
1GTESTS_CXXFLAGS+= -DGTEST_HAS_POSIX_RE=1
2GTESTS_CXXFLAGS+= -DGTEST_HAS_PTHREAD=1
3GTESTS_CXXFLAGS+= -DGTEST_HAS_STREAM_REDIRECTION=1
4GTESTS_CXXFLAGS+= -frtti
5
6.include <bsd.compiler.mk>
7
8# XXX: src.libnames.mk should handle adding this directory for libgtest's,
9# libgmock's, etc, headers.
10CXXFLAGS+=	-I${DESTDIR}${INCLUDEDIR}/private
11
12CXXSTD?=	c++14
13
14NO_WTHREAD_SAFETY=
15