summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to v1.14 in preparation for releasev1.14.0-prev1.14.0v1.14.xDerek Mauro2023-08-021-1/+1
| | | | | PiperOrigin-RevId: 553152072 Change-Id: I0bfbb2da6b3902fc3e41a8e1c4aacb291ffdd098
* cmake: Clean up policy coderefs/pull/4290/headJuan Ramos2023-06-201-8/+0
| | | | | | | | | | Now that the min is 3.13 these policies don't need to be set manually anymore. CMP0054 - 3.1 CMP0063 - 3.3 CMP0069 - 3.9 CMP0077 - 3.13
* Merge pull request #4288 from juan-lunarg:juan/cmake_min_3_dot_6Copybara-Service2023-06-201-5/+1
|\ | | | | | | | | PiperOrigin-RevId: 541929012 Change-Id: I90423820611c2b6a6f81fe3f9ec2d23992ffbed1
| * cmake: Raise min to 3.6refs/pull/4288/headJuan Ramos2023-06-191-5/+1
|/ | | | | | | | | | | From the CMake 3.27 release notes: Compatibility with versions of CMake older than 3.5 is now deprecated and will be removed from a future version. Calls to cmake_minimum_required() or cmake_policy() that set the policy version to an older value now issue a deprecation diagnostic. This PR also removes manually setting policy CMP0048. This is redundant since the CMake min is already 3.X
* Bump version to 1.13.0 in preparation for releasev1.13.0-prev1.13.0v1.13.xDerek Mauro2023-01-171-1/+1
| | | | | PiperOrigin-RevId: 502626077 Change-Id: I3aad27a8b725cf73163e52ef2e28e6cdfc13082b
* CMake: Add GTEST_HAS_ABSL build option for using AbslAbseil Team2022-10-191-0/+1
| | | | | PiperOrigin-RevId: 482101793 Change-Id: I1bd140fd6a325f573c8a0c464e4dccd4acd0d0a3
* Merge pull request #3921 from Krzmbrzl:patch-1Copybara-Service2022-07-181-0/+4
|\ | | | | | | | | PiperOrigin-RevId: 461660066 Change-Id: Ie23e046caf24d350c91e4ee3c4baf512780c6984
| * Set cmake policy CMP0069refs/pull/3921/headRobert Adam2022-07-181-0/+4
| | | | | | | | | | This ensures that LTO works as expected whenever the main project has it enabled.
* | Update version number in CMakeLists.txtDerek Mauro2022-06-301-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
* Set CMake Policy CMP0077 to NEWrefs/pull/3724/headJoris van der Pol2022-01-051-0/+4
|
* Googletest exportAbseil Team2021-08-241-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
* Googletest exportrelease-1.11.0Abseil Team2021-06-111-1/+1
| | | | | | Release GoogleTest 1.11.0 PiperOrigin-RevId: 378861756
* Bump CMake minimum to 2.8.12refs/pull/3094/headChuck Atkins2020-10-301-1/+1
|
* Merge branch 'master' of https://github.com/google/googletest into cmake-QNX-fixrefs/pull/2682/headMark Jan van Kampen2020-04-161-1/+1
|\ | | | | | | | | # Conflicts: # CMakeLists.txt
| * Googletest exportAbseil Team2020-03-171-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
* | Merge branch 'master' of https://github.com/google/googletest into cmake-QNX-fixMark Jan van Kampen2020-02-171-5/+1
|\ \ | |/ | | | | | | # Conflicts: # CMakeLists.txt
| * Googletest exportAbseil Team2020-02-131-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
* | Fixes extensions missing for QNXMark Jan van Kampen2020-01-221-1/+1
|/
* Activate GNU extensions in case of MSYS generatorrefs/pull/2632/headIlya Kravchuk2019-12-131-1/+1
|
* Googletest exportv1.10.xrelease-1.10.0Abseil Team2019-10-031-1/+1
| | | | | | Release Googletest 1.10 PiperOrigin-RevId: 272658347
* Suppress CMake policy warning (CMP0048)refs/pull/2264/headMatthijs Brobbel2019-05-281-4/+4
| | | | As suggested in #2150.
* Fix typo introduced in 63be3dcc245 (maintaners -> maintainers)refs/pull/2259/headEnji Cooper2019-05-201-1/+1
| | | | Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
* Googletest exportmisterg2019-05-031-0/+3
| | | | | | Clarify build system support - CMake and automake community supported PiperOrigin-RevId: 245821927
* cmake: detect Cygwin which needs extensions to buildrefs/pull/2101/headMatthias Grob2019-02-041-1/+3
|
* cmake: move global project definition to beginningMatthias Grob2019-02-041-3/+3
| | | | | such that necessary cmake variables to detect Cygwin are defined when setting the C++ standard and we can distinguish.
* Disable extensions and force standardrefs/pull/1890/headpeter2018-10-241-0/+2
|
* Fix -std=c++11 flagpeter2018-10-241-1/+6
|
* Merge c1170881039e859738c62b02a918116fc6d346bc into ↵Eisoku Kuroiwa2018-10-081-0/+1
| | | | | | | | 27c86f29417e53a622a2902baab2d1d82dafc5f9 Closes #1888 PiperOrigin-RevId: 216244924
* Merge 68b8a4c60cd80c78e1875b77807fa13cdd2313f8 into ↵Gennadiy Civil2018-10-021-1/+0
| | | | | | | | 77962730563eece3525f40b8769e4ca0c6baf64c Closes #1880 PiperOrigin-RevId: 215429534
* Add a cached variable to CMAKE_CXX_STANDARDrefs/pull/1872/headJerry Turcios2018-09-301-1/+1
|
* Add C++11 support in the root CMakeLists.txtJerry Turcios2018-09-281-0/+1
|
* Install CMake export filesrefs/pull/1338/headStefano Soffia2018-08-221-29/+2
| | | | Rework of the closed pull request #768
* Improve CMake exported targets.refs/pull/1682/headDakota Hawkins2018-08-211-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>
* Fix problem installing gtest when gmock enabledrefs/pull/1205/headMatthew Woehlke2017-08-161-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.
* Merge pull request #1160 from mwoehlke-kitware/honor-lib_suffixGennadiy Civil2017-08-111-0/+12
|\ | | | | Fix library install destinations
| * Fix library install destinationsrefs/pull/1160/headMatthew Woehlke2017-08-091-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>
* | Fixed cmake policy issuerefs/pull/1172/headJoel Laity2017-08-031-2/+2
| |
* | Fix policy issue with old cmakesrefs/pull/1170/headManuel VIVES2017-08-031-1/+4
| | | | | | | | #1169
* | Merge pull request #782 from Manozco/709-cmake-policy-project-versionGennadiy Civil2017-08-021-0/+1
|\ \ | | | | | | Issue 709: Fix Cmake policy 0048
| * | Issue 709: Fix Cmake policy 0048refs/pull/782/headManuel Vives2016-05-221-0/+1
| |/
* | 2.6.4 is the minimum CMake version, so enforce it (#656)Craig Scott2016-12-181-1/+1
|/
* Create CMakeLists.txtrefs/pull/628/headFábio Junqueira2015-11-111-0/+16
| | | Adding functionality to build googletest from the root directory
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-260/+0
|
* Make Google Test build cleanly on Visual Studio 2010, 2012, 2013.kosak2014-01-131-8/+16
| | | | Also improve an error message in gtest_test_utils.py.
* supports a protocol for catching tests that prematurely exitzhanyong.wan2013-09-061-0/+2
|
* fixes a typo in CMake script; h/t to Jay Mueller for reporting the issuezhanyong.wan2013-07-091-1/+1
|
* Removes dangling references in make/cmake files.zhanyong.wan2013-02-271-1/+0
|
* Removes testing::internal::String::Format(), which causes problems as it ↵kosak2013-02-221-0/+1
| | | | truncates the result at 4096 chars. Also update an obsolete link in comment.
* Fixes broken build on VC++ 7.1.vladlosev2011-06-131-14/+24
|
* Modifies handling of C++ exceptions in death tests to treat exceptions ↵vladlosev2010-10-181-0/+7
| | | | escaping them as failures.