summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.