aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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_STANDARDJerry Turcios2018-09-301-1/+1
|
* Add C++11 support in the root CMakeLists.txtJerry Turcios2018-09-281-0/+1
|
* Install CMake export filesStefano Soffia2018-08-221-29/+2
| | | | Rework of the closed pull request #768
* Improve CMake exported targets.Dakota 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 enabledMatthew 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 destinationsMatthew 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 issueJoel Laity2017-08-031-2/+2
| |
* | Fix policy issue with old cmakesManuel VIVES2017-08-021-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 0048Manuel Vives2016-05-211-0/+1
| |/
* / 2.6.4 is the minimum CMake version, so enforce it (#656)Craig Scott2016-12-171-1/+1
|/
* Create CMakeLists.txtFá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.
* Adds a gtest_disable_pthreads CMake option; also fixes an include order ↵zhanyong.wan2010-10-051-6/+6
| | | | problem in the cmake script.
* Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); ↵zhanyong.wan2010-08-091-0/+14
| | | | improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).
* Introduces gtest_force_shared_crt option for CMake build scripts.vladlosev2010-05-181-0/+7
|
* Comment tweaks in CMakeLists.txt.vladlosev2010-05-131-5/+5
|
* Renames CMake build script options.vladlosev2010-05-111-7/+7
|
* Moves the universal printer from gmock to gtest and refactors the cmake ↵zhanyong.wan2010-05-101-192/+15
| | | | script for reusing in gmock (by Vlad Losev).
* Improves support for building Google Test as Windows DLL.vladlosev2010-05-051-65/+68
|
* Minor improvement to hermetic build support in the CMake script, by Vlad Losev.zhanyong.wan2010-04-221-1/+3
|
* CMake 2.8/Visual Age compatibility patch by Hady Zalek.vladlosev2010-04-051-2/+4
|
* Fixes compatibility with Visual Age versions lower than 9.0 (by Hady Zalek); ↵zhanyong.wan2010-03-261-1/+4
| | | | updates the release notes.
* Cleans up the cmake script.zhanyong.wan2010-03-251-9/+15
|
* Makes the cmake script work on Solaris and AIX (by Hady Zalek).zhanyong.wan2010-03-251-24/+37
|
* Adds missing gtest DLL exports.zhanyong.wan2010-03-221-11/+14
|
* Fixes a -Wextra warning in gtest-param-util.h and updates the cmake script ↵zhanyong.wan2010-03-171-10/+40
| | | | to verify it (by Zhanyong Wan); adds support for hermetic build to the cmake script (by Vlad Losev).
* Supports building gtest as a DLL (by Vlad Losev).zhanyong.wan2010-03-051-9/+48
|
* Makes all samples compile with -Wall -Wshadow -Werror.vladlosev2010-02-271-3/+3
|
* Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler ↵zhanyong.wan2010-02-241-4/+12
| | | | Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth).
* Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes ↵zhanyong.wan2010-01-281-7/+16
| | | | unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek).
* Makes the cmake script work on Windows (by Manuel Klimek).zhanyong.wan2010-01-061-2/+6
|
* Makes the cmake script compatible with cmake 2.6.4.zhanyong.wan2010-01-051-8/+8
|
* Uses FindThreads to set the proper link flag when using threads (by Manuel ↵zhanyong.wan2010-01-051-35/+27
| | | | Klimek).
* Adds an experimental CMake build script; makes the samples compile without ↵zhanyong.wan2009-12-291-0/+275
warnings on Windows.