]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add MK_GOOGLETEST option for building/installing gmock/gtest
authorngie <ngie@FreeBSD.org>
Tue, 19 Feb 2019 22:40:32 +0000 (22:40 +0000)
committerngie <ngie@FreeBSD.org>
Tue, 19 Feb 2019 22:40:32 +0000 (22:40 +0000)
commitc5280c443b15491467cee09e9dc13d05cdab1f7f
treee73c1def5560821ef9a79b9565a400e68ddc6672
parentaff2667c19b96f8f6ae4a7fe191293bb1baf1b91
Add MK_GOOGLETEST option for building/installing gmock/gtest

These libraries don't compile on non-C++-11 capable compilers, e.g., g++ 4.2.1
and its corresponding implementation of the c++ library, i.e., libstdc++.

Blacklist compilation on all non-C++-11 capable compilers and give others the
option of opting out of building/installing gmock/gtest via MK_GOOGLETEST.

This option is controlled by MK_CXX and MK_TESTS, as ATF compilation is.
lib/Makefile
share/man/man5/src.conf.5
share/mk/src.opts.mk
tools/build/options/WITHOUT_GOOGLETEST [new file with mode: 0644]