mirror of
https://github.com/google/googletest.git
synced 2026-04-30 19:09:20 +08:00
Merge 94e9cb5cec2f958c8a33007deda947ca2fd08ab6 into d72f9c8aea6817cdf1ca0ac10887f328de7f3da2
This commit is contained in:
commit
f3f2eaf718
@ -4,7 +4,7 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(googletest-distribution)
|
||||
set(GOOGLETEST_VERSION 1.16.0)
|
||||
set(GOOGLETEST_VERSION 1.17.1)
|
||||
|
||||
if(NOT CYGWIN AND NOT MSYS AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
module(
|
||||
name = "googletest",
|
||||
version = "head",
|
||||
version = "1.17.1",
|
||||
compatibility_level = 1,
|
||||
)
|
||||
|
||||
@ -54,7 +54,7 @@ bazel_dep(
|
||||
|
||||
bazel_dep(
|
||||
name = "rules_cc",
|
||||
version = "0.2.8"
|
||||
version = "0.2.16"
|
||||
)
|
||||
|
||||
bazel_dep(
|
||||
|
||||
@ -8,9 +8,9 @@ Our documentation is now live on GitHub Pages at
|
||||
https://google.github.io/googletest/. We recommend browsing the documentation on
|
||||
GitHub Pages rather than directly in the repository.
|
||||
|
||||
#### Release 1.17.0
|
||||
#### Release 1.17.1
|
||||
|
||||
[Release 1.17.0](https://github.com/google/googletest/releases/tag/v1.17.0) is
|
||||
[Release 1.17.1](https://github.com/google/googletest/releases/tag/v1.17.1) is
|
||||
now available.
|
||||
|
||||
The 1.17.x branch
|
||||
|
||||
@ -48,7 +48,7 @@ with the following content:
|
||||
|
||||
# Choose the most recent version available at
|
||||
# https://registry.bazel.build/modules/googletest
|
||||
bazel_dep(name = "googletest", version = "1.17.0")
|
||||
bazel_dep(name = "googletest", version = "1.17.1")
|
||||
```
|
||||
|
||||
Now you're ready to build C++ code that uses GoogleTest.
|
||||
|
||||
@ -25,7 +25,7 @@ When building GoogleTest as a standalone project, the typical workflow starts
|
||||
with
|
||||
|
||||
```
|
||||
git clone https://github.com/google/googletest.git -b v1.17.0
|
||||
git clone https://github.com/google/googletest.git -b v1.17.1
|
||||
cd googletest # Main directory of the cloned repository.
|
||||
mkdir build # Create a directory to hold the build output.
|
||||
cd build
|
||||
|
||||
@ -33,9 +33,9 @@ def googletest_deps():
|
||||
if not native.existing_rule("rules_cc"):
|
||||
http_archive(
|
||||
name = "rules_cc",
|
||||
sha256 = "207ea073dd20a705f9e8bc5ac02f5203e9621fc672774bb1a0935aefab7aebfa",
|
||||
strip_prefix = "rules_cc-0.2.8",
|
||||
url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.8/rules_cc-0.2.8.tar.gz",
|
||||
sha256 = "458B658277BA51B4730EA7A2020EFDF1C6DCADF7D30DE72E37F4308277FA8C01",
|
||||
strip_prefix = "rules_cc-0.2.16",
|
||||
url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.16/rules_cc-0.2.16.tar.gz",
|
||||
)
|
||||
|
||||
if not native.existing_rule("fuchsia_sdk"):
|
||||
|
||||
BIN
rules_cc-0.2.16.tar.gz
Normal file
BIN
rules_cc-0.2.16.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user