Commit Graph

26 Commits

Author SHA1 Message Date
Carlos O'Ryan
321d7b17fc Upgrade googletest to 2019-01-04 (b6cd405) version. (#5423) 2019-02-25 11:26:31 -10:00
Arkady Shapkin
1ffc1b569d [gtest] Update to version 1.8.1 (#4220)
* [gtest] Update to version 1.8.1

* [gtest] Fix typo in cmake adjustment code. Revert usage to follow CMake official guidelines.
2018-11-14 11:05:11 -08:00
LarryIII
430c8ca413 update gtest to latest commit to fix issues of google-cloud-cpp (#3836) 2018-07-03 03:00:30 -07:00
Koby Kahane
a143d1a7fc [gtest] Fix missing debug information (#3148)
* [gtest] Fix missing debug information

Patch a CMake file in gtest not to override the /Z7 compiler option that embeds debug info in the .lib with /Zi that places it in a .pdb. This fixes linker warning LNK4099 when linking with gmock.lib.

* [gtest] Bump version to include Zi change
2018-04-02 19:34:51 -07:00
Yury Bura
ffb7725355 Update versions 2018-03-12 22:44:59 +03:00
yurybura
23a876d217 [gtest] Fix issue #2373 2018-03-12 19:51:25 +03:00
LazyWolf Lin
c4d8a862c5 Fix error C4996 of GTest in VS2017. 2018-01-29 14:40:26 +08:00
Robert Schumacher
839285590a [gtest] Fix issue with renaming gtest DLLs in debug mode 2017-12-14 22:24:37 -08:00
Tsukasa Sugiura
85848475fe Fix Gtest port fails install when one of the configuration is set to VCPKG_BUILD_TYPE (#2359)
* Support build with master/HEAD

Gtest will be able to build with master/HEAD.

* Fix install when one of the configuration is set to VCPKG_BUILD_TYPE

Fix install when one of the configuration is set to VCPKG_BUILD_TYPE.
2017-12-12 17:34:16 -08:00
Robert Schumacher
d11bad2012 [gtest] Remove renaming of DLLs -- only the import libs need renaming. 2017-12-08 22:40:45 -08:00
Tsukasa Sugiura
cb87b8c116 Enable Ninja build
Enable Ninja build.
2017-11-29 03:25:52 +09:00
Tsukasa Sugiura
10ad65ec7d Fix find Gtest
FindGtest.cmake that include in CMake finds the debug libraries that
file name with postfix "d".
2017-11-29 03:11:26 +09:00
Tsukasa Sugiura
530aadc6e2 Add install googletest/src
Add install googletest/src directory for project that desirable to build
Google Test by compiling a single file.
2017-11-27 00:51:32 +09:00
Robert Schumacher
1b2f75be94 [vcpkg] Support \share\<port>\usage to handle libraries which are found through built-in Find Modules. 2017-11-16 23:54:55 -08:00
Robert Schumacher
322e9254c1 [gtest] Silence TR1 deprecation warning 2017-10-03 17:03:17 -07:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Yuxuan He
630132096d Only check CRT on gtest_force_shared_crt. 2017-05-23 09:40:38 +08:00
Yuxuan He
e70e4db4b4 Add support for gtest's dynamic CRT + static linkiing. 2017-05-23 00:00:19 +08:00
Robert Schumacher
939d89c7c3 [gtest] Use vcpkg_from_github 2017-05-03 05:13:09 -07:00
Max Smolens
5c8d362b22 [gtest] Support static build 2017-02-21 09:47:17 -05:00
Robert Schumacher
32157f8ce5 [vcpkg-integrate] Provide an opt-out for autolinking. Properly suppress integration via MSBuild when using CMake.
Add lib\ and lib\manual-link\ to additional library paths.

[gtest] Because the four libraries provided by gtest supply redundant symbols and define main, opt them all out.

Addresses #306.
2016-11-25 23:10:27 -08:00
Alexander Karatarakis
cadee66ca2 If portfile is not static-enabled yet, warn and then build dynamic
The opposite if portfile is not dynamic enabled
2016-11-08 14:38:47 -08:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Alexander Karatarakis
b91df2281c [gtest] Mark as not supporting static yet 2016-10-26 15:31:26 -07:00
Robert Schumacher
b1fe038a83 Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123 2016-10-06 15:29:37 -07:00
Arkadiy Shapkin
76ae02e653 [gtest] Initial addition (googletest and googlemock) 2016-09-22 13:01:39 +03:00