aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2023-01-17Bump version to 1.13.0 in preparation for releasev1.13.0-prev1.13.0v1.13.xDerek Mauro1-1/+1
PiperOrigin-RevId: 502626077 Change-Id: I3aad27a8b725cf73163e52ef2e28e6cdfc13082b
2022-10-18CMake: Add GTEST_HAS_ABSL build option for using AbslAbseil Team1-0/+1
PiperOrigin-RevId: 482101793 Change-Id: I1bd140fd6a325f573c8a0c464e4dccd4acd0d0a3
2022-07-18Merge pull request #3921 from Krzmbrzl:patch-1Copybara-Service1-0/+4
PiperOrigin-RevId: 461660066 Change-Id: Ie23e046caf24d350c91e4ee3c4baf512780c6984
2022-07-18Set cmake policy CMP0069Robert Adam1-0/+4
This ensures that LTO works as expected whenever the main project has it enabled.
2022-06-30Update version number in CMakeLists.txtDerek Mauro1-1/+1
Note that this is 1.12.1 as there will be a patch release to fix this PiperOrigin-RevId: 458216994 Change-Id: Ibca52a8db22ed06cb1a1adc4832be67fce69459a
2022-01-05Set CMake Policy CMP0077 to NEWJoris van der Pol1-0/+4
2021-08-24Googletest exportAbseil Team1-5/+3
Bump `cmake_minimum_required` to 3.5. Delete conditional branches exclusive to older versions. Notable dependents: - github.com/grpc/grpc >= 3.5.1 - github.com/abseil/abseil-cpp >= 3.5 - github.com/googleapis/google-cloud-cpp >= 3.5 On the other hand, github.com/protocolbuffers/protobuf is >= 3.1.3, but it only depends on GoogleTest 1.10. Fixes #3523 PiperOrigin-RevId: 392073834
2021-06-11Googletest exportrelease-1.11.0Abseil Team1-1/+1
Release GoogleTest 1.11.0 PiperOrigin-RevId: 378861756
2020-10-30Bump CMake minimum to 2.8.12Chuck Atkins1-1/+1
2020-04-16Merge branch 'master' of https://github.com/google/googletest into cmake-QNX-fixMark Jan van Kampen1-1/+1
# Conflicts: # CMakeLists.txt
2020-03-17Googletest exportAbseil Team1-1/+1
Fix Compilation against CMake < 3.7 (Fix #2711) `VERSION_GREATER_EQUAL` was introduced in CMake 3.7 ref: https://cmake.org/cmake/help/v3.7/release/3.7.html#commands PiperOrigin-RevId: 300817917
2020-02-17Merge branch 'master' of https://github.com/google/googletest into cmake-QNX-fixMark Jan van Kampen1-5/+1
# Conflicts: # CMakeLists.txt
2020-02-13Googletest exportAbseil Team1-5/+1
Remove the CMAKE_CXX_STANDARD from GoogleTest's CMakeLists.txt This causes ABI issues since it can create a mixed-mode build. The value should be inherited from the top-level build if it needs to be set. PiperOrigin-RevId: 294730724
2020-01-22Fixes extensions missing for QNXMark Jan van Kampen1-1/+1
2019-12-13Activate GNU extensions in case of MSYS generatorIlya Kravchuk1-1/+1
2019-10-03Googletest exportv1.10.xrelease-1.10.0Abseil Team1-1/+1
Release Googletest 1.10 PiperOrigin-RevId: 272658347
2019-05-28Suppress CMake policy warning (CMP0048)Matthijs Brobbel1-4/+4
As suggested in #2150.
2019-05-19Fix typo introduced in 63be3dcc245 (maintaners -> maintainers)Enji Cooper1-1/+1
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-05-03Googletest exportmisterg1-0/+3
Clarify build system support - CMake and automake community supported PiperOrigin-RevId: 245821927
2019-02-04cmake: detect Cygwin which needs extensions to buildMatthias Grob1-1/+3
2019-02-04cmake: move global project definition to beginningMatthias Grob1-3/+3
such that necessary cmake variables to detect Cygwin are defined when setting the C++ standard and we can distinguish.
2018-10-24Disable extensions and force standardpeter1-0/+2
2018-10-24Fix -std=c++11 flagpeter1-1/+6
2018-10-08Merge c1170881039e859738c62b02a918116fc6d346bc into ↵Eisoku Kuroiwa1-0/+1
27c86f29417e53a622a2902baab2d1d82dafc5f9 Closes #1888 PiperOrigin-RevId: 216244924
2018-10-02Merge 68b8a4c60cd80c78e1875b77807fa13cdd2313f8 into ↵Gennadiy Civil1-1/+0
77962730563eece3525f40b8769e4ca0c6baf64c Closes #1880 PiperOrigin-RevId: 215429534
2018-09-30Add a cached variable to CMAKE_CXX_STANDARDJerry Turcios1-1/+1
2018-09-28Add C++11 support in the root CMakeLists.txtJerry Turcios1-0/+1
2018-08-22Install CMake export filesStefano Soffia1-29/+2
Rework of the closed pull request #768
2018-08-21Improve CMake exported targets.Dakota Hawkins1-10/+27
I _think_ this represents some of the "best practices" for exporting targets. They'll be available in a `googletest::` namespace (e.g. `googletest::gmock`) with non-namespaced `ALIAS` targets. - Added GOOGLETEST_VERSION variable - Use `CMakePackageConfigHelpers`, bump minimum CMake version to 2.8.8 Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>
2017-08-16Fix problem installing gtest when gmock enabledMatthew Woehlke1-1/+2
Fix a bug deciding whether to enable the option to install Google Test caused by one of the dependent option dependencies not being defined yet. Fixes #1198; impossible to install Google Test if Google Mock is built.
2017-08-11Merge pull request #1160 from mwoehlke-kitware/honor-lib_suffixGennadiy Civil1-0/+12
Fix library install destinations
2017-08-09Fix library install destinationsMatthew Woehlke1-0/+12
Modify library install destinations to install .dll's to the correct location (`bin`, not `lib`), and to install other artifacts to the correct platform-dependent location by using GNUInstallDirs. This is required for some distributions (e.g. Fedora) and will fix an issue that otherwise requires those distributions to patch the upstream sources. Also, add options to suppress installation, which may be useful for projects that embed Google Test. Since Google Test is trying to support archaic versions of CMake, a brain-dead fallback (which requires that the user set either LIB_SUFFIX or CMAKE_INSTALL_LIBDIR themselves) is included for versions that predate GNUInstallDirs. Fixes #1161. Co-Authored-By: d3x0r <d3x0r@users.noreply.github.com>
2017-08-03Fixed cmake policy issueJoel Laity1-2/+2
2017-08-02Fix policy issue with old cmakesManuel VIVES1-1/+4
#1169
2017-08-02Merge pull request #782 from Manozco/709-cmake-policy-project-versionGennadiy Civil1-0/+1
Issue 709: Fix Cmake policy 0048
2016-12-172.6.4 is the minimum CMake version, so enforce it (#656)Craig Scott1-1/+1
2016-05-21Issue 709: Fix Cmake policy 0048Manuel Vives1-0/+1
2015-11-11Create CMakeLists.txtFábio Junqueira1-0/+16
Adding functionality to build googletest from the root directory
2015-08-25Move everything in googletest into googletest/googletestBilly Donahue1-260/+0
2014-01-13Make Google Test build cleanly on Visual Studio 2010, 2012, 2013.kosak1-8/+16
Also improve an error message in gtest_test_utils.py.
2013-09-06supports a protocol for catching tests that prematurely exitzhanyong.wan1-0/+2
2013-07-09fixes a typo in CMake script; h/t to Jay Mueller for reporting the issuezhanyong.wan1-1/+1
2013-02-27Removes dangling references in make/cmake files.zhanyong.wan1-1/+0
2013-02-22Removes testing::internal::String::Format(), which causes problems as it ↵kosak1-0/+1
truncates the result at 4096 chars. Also update an obsolete link in comment.
2011-06-13Fixes broken build on VC++ 7.1.vladlosev1-14/+24
2010-10-18Modifies handling of C++ exceptions in death tests to treat exceptions ↵vladlosev1-0/+7
escaping them as failures.
2010-10-05Adds a gtest_disable_pthreads CMake option; also fixes an include order ↵zhanyong.wan1-6/+6
problem in the cmake script.
2010-08-09Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵zhanyong.wan1-0/+14
improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).
2010-05-18Introduces gtest_force_shared_crt option for CMake build scripts.vladlosev1-0/+7
2010-05-13Comment tweaks in CMakeLists.txt.vladlosev1-5/+5