summaryrefslogtreecommitdiffstats
path: root/googletest/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
...
| * Use DEBUG_POSTFIX instead of CMAKE_DEBUG_POSTFIXDavid Neto2018-02-261-2/+0
| | | | | | | | | | | | | | | | | | | | | | CMAKE_DEBUG_POSTFIX is a global configuration parameter, and changing it pollutes the configuration space for other projects that enclose this project. DEBUG_POSTFIX is better to use since it is a target-specific poperty. Fixes #1334 Fixes #1268
* | Support JSON output format in addition to XMLPetr Hosek2018-02-281-0/+2
|/ | | | | | This change allows emitting output in JSON format in addition to the already supported XML format. The implementation as well as the file structure is intentionally modelled after the XML one.
* remove implicit castsBryan Zimmerman2017-12-111-1/+0
|
* Merge branch 'master' into masterrefs/pull/1311/headbryanzim2017-12-111-2/+2
|\
| * Merge branch 'master' into use-system-includesrefs/pull/1333/headGennadiy Civil2017-12-081-0/+2
| |\
| * | make includes systemSam Lunt2017-11-271-2/+2
| | |
* | | Merge branch 'master' into masterbryanzim2017-12-081-1/+2
|\ \ \ | | |/ | |/|
| * | Improved description of VS std::tuple supportWojciech Mamrak2017-12-071-0/+2
| |/
* | fix for VS2017 deprecation of ::tr1::tupleBryan Zimmerman2017-10-271-8/+10
|/ | | | | change static_cast to ImplicitCast_ for consitency fixes for building with path names containing spaces
* Add explicit `CMAKE_DEBUG_POSTFIX` optionly20482017-09-141-0/+2
| | | Enable generating different library name to be compatible with CMake's `FindGTest`.
* remove obsolete link_directories commandHerbert Thielen2017-09-051-3/+0
| | | | | | | | It's not necessary, as the target_link_libraries command contains an absolute path already, and the path given doesn't exist anymore, leading only to linker warnings like: ld: warning: directory not found for option '-L/Users/travis/build/google/googletest/build/googlemock/gtest/src'
* Adding CMake visibility policy settingrefs/pull/1215/headHenry Schreiner2017-08-181-0/+4
| | | This policy setting will silence a warning when using with a visibility settings on targets. Due to the forced `cmake_minimum_version`, policy settings in CMakeLists calling this one (including the main CMakeLists) are lost, forcing the change to be made here.
* Add support for pkgconfigDavid Seifert2017-08-141-1/+18
|
* Merge pull request #1160 from mwoehlke-kitware/honor-lib_suffixGennadiy Civil2017-08-111-4/+8
|\ | | | | Fix library install destinations
| * Fix library install destinationsrefs/pull/1160/headMatthew Woehlke2017-08-091-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | 2.6.4 is the minimum CMake version, so enforce it (#656)Craig Scott2016-12-181-1/+1
|/
* Add include dirs to targets if CMake version supports itrefs/pull/657/headCraig Scott2015-12-061-0/+8
|
* Add CMake install rules for gtest libraries and headersrefs/pull/632/headTaylor Braun-Jones2015-11-231-0/+8
|
* Add an option to enable building with -fvisibility=hidden.Dominic Meiser2015-10-301-0/+10
| | | | | | When this option is set gtest itself is built with -fvisibility=hidden with gcc and clang. This replicates MSVC's default behaviour with gcc and clang.
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-0/+260