summaryrefslogtreecommitdiffstats
path: root/googletest/cmake/internal_utils.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into win-libcxx2refs/pull/1423/headGennadiy Civil2018-02-271-0/+3
|\
| * Fix test build issue with GCC7.2.refs/pull/1426/headStefano Soffia2018-01-251-0/+3
| |
* | Pass -EHs-c- to disable exceptions with MSVC.Peter Collingbourne2018-01-251-1/+1
|/
* 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-141-2/+4
|
* 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