Matthew Woehlke
9469fb687d
Fix problem installing gtest when gmock enabled
...
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.
7 years ago
Matthew Woehlke
0e8e0e07d6
Fix library install destinations
...
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>
7 years ago
Joel Laity
568958e940
Fixed cmake policy issue
7 years ago
Manuel VIVES
b68f1e769c
Fix policy issue with old cmakes
...
#1169
7 years ago
Craig Scott
c0059a79f8
2.6.4 is the minimum CMake version, so enforce it ( #656 )
8 years ago
Manuel Vives
a7ab054f2b
Issue 709: Fix Cmake policy 0048
9 years ago
Fábio Junqueira
4a0b77ff72
Create CMakeLists.txt
...
Adding functionality to build googletest from the root directory
9 years ago
Billy Donahue
affb09edf0
move googlemock files into googlemock/ subdir
9 years ago
Billy Donahue
1f87a0970d
Move everything in googletest into googletest/googletest
9 years ago
kosak
b93d0f10d5
Make Google Mock build cleanly on Visual Studio 2010, 2012, 2013.
11 years ago
kosak
7d1051ce2b
Make Google Test build cleanly on Visual Studio 2010, 2012, 2013.
...
Also improve an error message in gtest_test_utils.py.
11 years ago
zhanyong.wan
c306ef2e14
supports a protocol for catching tests that prematurely exit
11 years ago
zhanyong.wan
9ba29fae92
fixes a typo in CMake script; h/t to Jay Mueller for reporting the issue
12 years ago
zhanyong.wan
a1a98f840e
Adds a cmake target for gmock_ex_test; also fixes name shadowing warnings.
12 years ago
zhanyong.wan
88fe90793c
Removes dangling references in make/cmake files.
12 years ago
kosak
cc1fdb58ca
Removes testing::internal::String::Format(), which causes problems as it truncates the result at 4096 chars. Also update an obsolete link in comment.
12 years ago
vladlosev
cc265df8b4
Fixes broken build on VC++ 7.1.
14 years ago
vladlosev
587c1b37c2
Adds support for building Google Mock as a shared library (DLL).
14 years ago
vladlosev
47be72a952
A test to verify correcteness of Google Mock on multiple threads.
14 years ago
vladlosev
50f4deb1cf
Modifies handling of C++ exceptions in death tests to treat exceptions escaping them as failures.
14 years ago
zhanyong.wan
7dfbea4976
Fixes an include order problem in CMakeLists.txt; pulls in gtest r489.
14 years ago
zhanyong.wan
9c48242258
Adds a gtest_disable_pthreads CMake option; also fixes an include order problem in the cmake script.
14 years ago
zhanyong.wan
5c4b472bbf
Makes gtest print enums as integers instead of hex dumps (by Zhanyong Wan); improves the hex dump format (by Zhanyong Wan); gets rid of class TestInfoImpl (by Zhanyong Wan); adds exception handling (by Vlad Losev).
14 years ago
vladlosev
0a781df32a
Fixes build failure on Windows/CMake (issue 111).
15 years ago
vladlosev
c828e17175
Introduces gtest_force_shared_crt option for CMake build scripts.
15 years ago
vladlosev
0f3f5012d8
Adds CMake build script.
15 years ago
vladlosev
2c697f5919
Comment tweaks in CMakeLists.txt.
15 years ago
vladlosev
e588a3bba2
Renames CMake build script options.
15 years ago
zhanyong.wan
2ccea88c99
Moves the universal printer from gmock to gtest and refactors the cmake script for reusing in gmock (by Vlad Losev).
15 years ago
vladlosev
c476707e82
Improves support for building Google Test as Windows DLL.
15 years ago
zhanyong.wan
520f623c59
Minor improvement to hermetic build support in the CMake script, by Vlad Losev.
15 years ago
vladlosev
1e908873eb
CMake 2.8/Visual Age compatibility patch by Hady Zalek.
15 years ago
zhanyong.wan
3569c3c86d
Fixes compatibility with Visual Age versions lower than 9.0 (by Hady Zalek); updates the release notes.
15 years ago
zhanyong.wan
2429dfc641
Cleans up the cmake script.
15 years ago
zhanyong.wan
92344b762a
Makes the cmake script work on Solaris and AIX (by Hady Zalek).
15 years ago
zhanyong.wan
9f0824b0a6
Adds missing gtest DLL exports.
15 years ago
zhanyong.wan
a6978ecb4c
Fixes a -Wextra warning in gtest-param-util.h and updates the cmake script to verify it (by Zhanyong Wan); adds support for hermetic build to the cmake script (by Vlad Losev).
15 years ago
zhanyong.wan
83589cca34
Supports building gtest as a DLL (by Vlad Losev).
15 years ago
vladlosev
fe78760959
Makes all samples compile with -Wall -Wshadow -Werror.
15 years ago
zhanyong.wan
3bef459eac
Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler 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).
15 years ago
zhanyong.wan
81e1cc73c8
Introduces macro GTEST_HAS_STREAM_REDIRECTION_ (by Vlad Losev); fixes unsynchronized color text output on Windows (by Vlad Losev); fixes the cmake script to work with MSVC 10 (by Manuel Klimek).
15 years ago
zhanyong.wan
276f4019c0
Makes the cmake script work on Windows (by Manuel Klimek).
15 years ago
zhanyong.wan
c73d024193
Makes the cmake script compatible with cmake 2.6.4.
15 years ago
zhanyong.wan
38efa38f40
Uses FindThreads to set the proper link flag when using threads (by Manuel Klimek).
15 years ago
zhanyong.wan
1d6df4be08
Adds an experimental CMake build script; makes the samples compile without warnings on Windows.
15 years ago