mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 11:35:33 -04:00

Using changes from rom-properties, which includes building gtest as a DLL on Windows. This update fixes a bunch of -Wsuggest-override warnings, e.g.: In file included from extlib/googletest/googletest/include/gtest/gtest-death-test.h:41, from extlib/googletest/googletest/include/gtest/gtest.h:60, from src/libwiicrypto/tests/CertVerifyTest.cpp:10: extlib/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:150:16: warning: ‘virtual bool testing::internal::DefaultDeathTestFactory::Create(const char*, const testing::internal::RE*, const char*, int, testing::internal::DeathTest**)’ can be marked override [-Wsuggest-override] 150 | virtual bool Create(const char* statement, const RE* regex, | ^~~~~~
36 lines
1.3 KiB
Plaintext
Vendored
36 lines
1.3 KiB
Plaintext
Vendored
This copy of googletest-1.12.1 is a modified version of the original.
|
|
|
|
commit 58d77fa8070e8cec2dc1ed015d66b454c8d78850 (HEAD, tag: release-1.12.1, origin/v1.12.x)
|
|
Author: Derek Mauro <761129+derekmauro@users.noreply.github.com>
|
|
Date: Mon Jun 27 13:14:55 2022 -0400
|
|
|
|
Updates the version number in CMakeLists.txt to 1.12.1 (#3919)
|
|
|
|
Due to an oversight version 1.12.0 didn't update the version in
|
|
CMakeLists.txt. A patch release will fix this issue.
|
|
|
|
I've also added a note to instructions for creating a release to check
|
|
for this issue.
|
|
|
|
The following changes have been made to the original:
|
|
|
|
- Disabled INSTALL() rules.
|
|
|
|
- Forced static library builds.
|
|
|
|
- Disabled some options for enabling unit tests and other
|
|
settings that aren't necessary for rom-properties.
|
|
|
|
- cmake_minimum_required() is disabled, since it interfered with
|
|
policies set by the main build infrastructure.
|
|
|
|
- Removed test suites, scripts, and Xcode projects in order to reduce
|
|
warnings on LGTM.
|
|
|
|
- Add a workaround for std::is_trivially_copy_constructible<T> and
|
|
std::is_trivially_destructible<T> not being implemented in gcc-4.9.
|
|
(They were added in gcc-5.) Fixes the build on Debian 8.
|
|
|
|
To obtain the original googletest-1.12.1, visit:
|
|
https://github.com/google/googletest
|