test: Bundle GTest/GMock 1.8.1 sources and provide a find script
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 24 Sep 2018 18:30:25 +0000 (20:30 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
commit8111304ae2fa60ac1d20520cfdd3e5b4930bce8b
treeb6652bb710e25d60332b3fed297b5f78dec6bcbb
parent2c8434f74c68194d56f2084f637419123e61d18b
test: Bundle GTest/GMock 1.8.1 sources and provide a find script

GTest/GMock is a unit testing framework that we want to use for
writing unit tests for Quassel in the future. Since Google
recommends building the test libraries with the same flags and
settings as the code under test, we should build them as part of
Quassel's build process rather than relying on system-provided
libraries.

Because most distros don't seem to package the GTest/GMock sources,
bundle them with Quassel. The upstream sources are unmodified,
although the set of files shipped is trimmed down significantly
in order to not needlessly blow up the repo size.

Provide FindGTest.cmake, which builds the libraries from the
bundled sources.
92 files changed:
3rdparty/googletest-1.8.1/CMakeLists.txt [new file with mode: 0644]
3rdparty/googletest-1.8.1/CONTRIBUTING.md [new file with mode: 0644]
3rdparty/googletest-1.8.1/LICENSE [new file with mode: 0644]
3rdparty/googletest-1.8.1/README.Quassel [new file with mode: 0644]
3rdparty/googletest-1.8.1/README.md [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/CHANGES [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/CMakeLists.txt [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/CONTRIBUTORS [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/LICENSE [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/README.md [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/cmake/gmock.pc.in [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/cmake/gmock_main.pc.in [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-actions.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-cardinalities.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-actions.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-actions.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-function-mockers.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-function-mockers.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-matchers.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-matchers.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-nice-strict.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-generated-nice-strict.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-matchers.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-more-actions.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-more-matchers.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock-spec-builders.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/gmock.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/custom/README.md [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/custom/gmock-generated-actions.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/custom/gmock-matchers.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/custom/gmock-port.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/gmock-generated-internal-utils.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/gmock-internal-utils.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/include/gmock/internal/gmock-port.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/src/gmock-all.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/src/gmock-cardinalities.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/src/gmock-internal-utils.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/src/gmock-matchers.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/src/gmock-spec-builders.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/src/gmock.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googlemock/src/gmock_main.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/CHANGES [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/CMakeLists.txt [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/CONTRIBUTORS [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/LICENSE [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/README.md [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/cmake/Config.cmake.in [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/cmake/gtest.pc.in [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/cmake/gtest_main.pc.in [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/cmake/internal_utils.cmake [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-death-test.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-message.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-param-test.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-param-test.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-printers.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-spi.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-test-part.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest-typed-test.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest_pred_impl.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/gtest_prod.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/custom/README.md [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/custom/gtest-port.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/custom/gtest-printers.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/custom/gtest.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-death-test-internal.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-filepath.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-internal.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-linked_ptr.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-param-util-generated.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-param-util-generated.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-param-util.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-port-arch.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-port.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-string.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-tuple.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-tuple.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-type-util.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/include/gtest/internal/gtest-type-util.h.pump [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-all.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-death-test.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-filepath.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-internal-inl.h [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-port.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-printers.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-test-part.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest-typed-test.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest.cc [new file with mode: 0644]
3rdparty/googletest-1.8.1/googletest/src/gtest_main.cc [new file with mode: 0644]
cmake/FindGTest.cmake [new file with mode: 0644]