summaryrefslogtreecommitdiffstats
path: root/googletest/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into issue_1735Jacob Schloss2018-08-222-1/+48
|\
| * Install CMake export filesrefs/pull/1338/headStefano Soffia2018-08-222-1/+43
| | | | | | | | Rework of the closed pull request #768
| * Merge branch 'master' into fix-msvc-d9025-warningrefs/pull/1612/headGennadiy Civil2018-08-171-5/+5
| |\
| * | Remove default /EHsc compiler flagWojciech Kaluza2018-07-111-0/+5
| | | | | | | | | | | | | | | | | | This prevents warning D9025 (one command-line option overrides another) on MSVC builds: some test targets are built with the /EHs-c- which conflicts with /EHsc.
* | | It seems like CMAKE_CXX_FLAGS is getting double appended when building as a ↵Jacob Schloss2018-08-221-1/+1
| |/ |/| | | | | | | | | | | | | nested cmake project, which breaks my build as gcc does not allow -specs=nosys.specs to be called multiple times. Removing this fixes it and seems to keep the same compile options, just removing the duplicate definition.
* | Merge branch 'master' into cross-testing-patch-1Gennadiy Civil2018-08-083-23/+66
|\ \
| * | Updated broken and outdated URLsPiotr Kąkol2018-07-251-1/+1
| | |
| * | Pass the --no_stacktrace_support argument to the CMake testsDerek Mauro2018-07-101-3/+3
| |/ | | | | | | | | This does the same thing to the CMake tests that is done to the Bazel tests, and now makes the CMake tests pass.
| * Merge branch 'master' into debug-postfixrefs/pull/1481/headGennadiy Civil2018-02-281-1/+1
| |\
| | * Merge branch 'master' into win-libcxx2refs/pull/1423/headGennadiy Civil2018-02-271-0/+3
| | |\
| | * | Pass -EHs-c- to disable exceptions with MSVC.Peter Collingbourne2018-01-251-1/+1
| | | |
| * | | Use DEBUG_POSTFIX instead of CMAKE_DEBUG_POSTFIXDavid Neto2018-02-261-0/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fix test build issue with GCC7.2.refs/pull/1426/headStefano Soffia2018-01-251-0/+3
| |/
| * Fix tests with VS2015 and VS2017Arkadiy Shapkin2017-10-251-4/+4
| |
| * Merge branch 'master' into hethi/travis-release-buildHerbert Thielen2017-09-071-2/+7
| |\
| | * CMake: use threads if allowed and found, not just if found.refs/pull/975/headRoman Lebedev2017-09-011-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user's cmakelists.txt first look for threads using find_package(Threads), then set(gtest_disable_pthreads ON), and then include googletest. GoogleTest will not look for threads. But since they have already been found before in user's cmakelists, it will use them regardless. This helped me fix build issue in darktable-org/rawspeed on windows/MSYS2, even though there are threads, and they are usable, googletest build was failing with issues about AutoHandle. I was first looking for threads, and only then including googletest, so no matter the value of gtest_disable_pthreads, it failed. The other obvious solution is for user to first include googletest, and only then look for threads by himself.
| * | treat all warnings as errors for GCC (-Werror)Herbert Thielen2017-09-011-1/+1
| |/
| * create different python based tests for single and multi configuration build ↵Herbert Thielen2017-08-301-9/+21
| | | | | | | | generators
| * Revert "ask cmake for per-configuration output subdir"Herbert Thielen2017-08-301-1/+1
| | | | | | | | | | | | | | This reverts commit 73d58dd4c83883b46697798e978d576b28b1d24e. Unfortunately, ${CMAKE_CFG_INTDIR} is set during build only and doesn't help here.
| * ask cmake for per-configuration output subdirHerbert Thielen2017-08-301-1/+1
| | | | | | | | | | | | | | On single-configuration build systems as Makefile Generators, there is no subdirectory for the configuration in the build tree - therefore ask cmake for the subdir by using CMAKE_CFG_INTDIR, which is just '.' on single-configuration build systems (Linux et al.).
| * remove obsolete comment regarding python tests on linuxHerbert Thielen2017-08-301-2/+0
| |
| * Add support for pkgconfigDavid Seifert2017-08-143-2/+23
| |
* | Fix #923 - support CMAKE_CROSSCOMPILING_EMULATOR for testsMartin Oberhuber2016-11-051-1/+1
|/ | | | | Replaced legacy syntax of cmake add_test() with more modern syntax. This allows running gtests's own tests on remote (cross) systems using CMAKE_CROSSCOMPILING_EMULATOR with cmake-3.3 or newer.
* Merge pull request #721 from ilmagico/fix-mingw-threadsBilly Donahue2016-08-241-1/+3
|\ | | | | Fix compilation of googletest with MinGW using Win32 threads
| * Don't use pthread when on MinGW even if availablerefs/pull/721/headDaniele Tamino2016-02-221-1/+3
| | | | | | | | It's not supported, and native Windows threading is available for MinGW
* | Support running MSVC build on AppVeyourrefs/pull/723/headArkadiy Shapkin2016-06-271-2/+14
|/
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-0/+242