-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to gtest 1.10.0 with patch for gcc warnings (#67)
Signed-off-by: Steve Peters <scpeters@openrobotics.org> Signed-off-by: Michael Carroll <michael@openrobotics.org>
- Loading branch information
Showing
42 changed files
with
4,790 additions
and
4,289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@PACKAGE_INIT@ | ||
include(CMakeFindDependencyMacro) | ||
if (@GTEST_HAS_PTHREAD@) | ||
set(THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@) | ||
find_dependency(Threads) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") | ||
check_required_components("@project_name@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
prefix=${pcfiledir}/../.. | ||
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ | ||
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ | ||
|
||
Name: gtest | ||
Description: GoogleTest (without main() function) | ||
Version: @PROJECT_VERSION@ | ||
URL: https://github.com/google/googletest | ||
Libs: -L${libdir} -lgtest @CMAKE_THREAD_LIBS_INIT@ | ||
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
prefix=${pcfiledir}/../.. | ||
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ | ||
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ | ||
|
||
Name: gtest_main | ||
Description: GoogleTest (with main() function) | ||
Version: @PROJECT_VERSION@ | ||
URL: https://github.com/google/googletest | ||
Requires: gtest | ||
Libs: -L${libdir} -lgtest_main @CMAKE_THREAD_LIBS_INIT@ | ||
Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ @CMAKE_THREAD_LIBS_INIT@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# libgtest.la - a libtool library file | ||
# Generated by libtool (GNU libtool) 2.4.6 | ||
|
||
# Please DO NOT delete this file! | ||
# It is necessary for linking the library. | ||
|
||
# Names of this library. | ||
library_names='libgtest.so' | ||
|
||
# Is this an already installed library? | ||
installed=yes | ||
|
||
# Should we warn about portability when linking against -modules? | ||
shouldnotlink=no | ||
|
||
# Files to dlopen/dlpreopen | ||
dlopen='' | ||
dlpreopen='' | ||
|
||
# Directory that this library needs to be installed in: | ||
libdir='@CMAKE_INSTALL_FULL_LIBDIR@' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/test/gtest/src/gtest.cc b/test/gtest/src/gtest.cc | ||
index a5b4e5a..1dff1a6 100644 | ||
--- a/test/gtest/src/gtest.cc | ||
+++ b/test/gtest/src/gtest.cc | ||
@@ -34,6 +34,10 @@ | ||
#include "gtest/internal/custom/gtest.h" | ||
#include "gtest/gtest-spi.h" | ||
|
||
+#ifndef _WIN32 | ||
+#pragma GCC system_header | ||
+#endif | ||
+ | ||
#include <ctype.h> | ||
#include <math.h> | ||
#include <stdarg.h> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.