This commit is contained in:
智皓 张
2022-12-06 15:51:32 +08:00
parent 7158e9775d
commit 747486aac1
416 changed files with 144673 additions and 0 deletions

180
third-party/googletest/BUILD.bazel vendored Normal file
View File

@@ -0,0 +1,180 @@
# Copyright 2017 Google Inc.
# All Rights Reserved.
#
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Author: misterg@google.com (Gennadiy Civil)
#
# Bazel Build for Google C++ Testing Framework(Google Test)
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
config_setting(
name = "windows",
values = {"cpu": "x64_windows"},
)
config_setting(
name = "windows_msvc",
values = {"cpu": "x64_windows_msvc"},
)
config_setting(
name = "has_absl",
values = {"define": "absl=1"},
)
# Google Test including Google Mock
cc_library(
name = "gtest",
srcs = glob(
include = [
"googletest/src/*.cc",
"googletest/src/*.h",
"googletest/include/gtest/**/*.h",
"googlemock/src/*.cc",
"googlemock/include/gmock/**/*.h",
],
exclude = [
"googletest/src/gtest-all.cc",
"googletest/src/gtest_main.cc",
"googlemock/src/gmock-all.cc",
"googlemock/src/gmock_main.cc",
],
),
hdrs = glob([
"googletest/include/gtest/*.h",
"googlemock/include/gmock/*.h",
]),
copts = select(
{
":windows": [],
":windows_msvc": [],
"//conditions:default": ["-pthread"],
},
),
defines = select(
{
":has_absl": [
"GTEST_HAS_ABSL=1",
],
"//conditions:default": [],
},
),
includes = [
"googlemock",
"googlemock/include",
"googletest",
"googletest/include",
],
linkopts = select({
":windows": [],
":windows_msvc": [],
"//conditions:default": [
"-pthread",
],
}),
deps = select(
{
":has_absl": [
"@com_google_absl//absl/debugging:failure_signal_handler",
"@com_google_absl//absl/debugging:stacktrace",
"@com_google_absl//absl/debugging:symbolize",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:optional",
"@com_google_absl//absl/types:variant",
],
"//conditions:default": [],
},
),
)
cc_library(
name = "gtest_main",
srcs = [
"googlemock/src/gmock_main.cc",
],
deps = [":gtest"],
)
# The following rules build samples of how to use gTest.
cc_library(
name = "gtest_sample_lib",
srcs = [
"googletest/samples/sample1.cc",
"googletest/samples/sample2.cc",
"googletest/samples/sample4.cc",
],
hdrs = [
"googletest/samples/prime_tables.h",
"googletest/samples/sample1.h",
"googletest/samples/sample2.h",
"googletest/samples/sample3-inl.h",
"googletest/samples/sample4.h",
],
)
cc_test(
name = "gtest_samples",
size = "small",
#All Samples except:
#sample9 ( main )
#sample10 (main and takes a command line option and needs to be separate)
srcs = [
"googletest/samples/sample1_unittest.cc",
"googletest/samples/sample2_unittest.cc",
"googletest/samples/sample3_unittest.cc",
"googletest/samples/sample4_unittest.cc",
"googletest/samples/sample5_unittest.cc",
"googletest/samples/sample6_unittest.cc",
"googletest/samples/sample7_unittest.cc",
"googletest/samples/sample8_unittest.cc",
],
deps = [
"gtest_sample_lib",
":gtest_main",
],
)
cc_test(
name = "sample9_unittest",
size = "small",
srcs = ["googletest/samples/sample9_unittest.cc"],
deps = [":gtest"],
)
cc_test(
name = "sample10_unittest",
size = "small",
srcs = ["googletest/samples/sample10_unittest.cc"],
deps = [
":gtest",
],
)

23
third-party/googletest/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 2.8.8)
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif (POLICY CMP0048)
project(googletest-distribution)
set(GOOGLETEST_VERSION 1.9.0)
enable_testing()
include(CMakeDependentOption)
include(GNUInstallDirs)
#Note that googlemock target already builds googletest
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON)
if(BUILD_GMOCK)
add_subdirectory( googlemock )
else()
add_subdirectory( googletest )
endif()

160
third-party/googletest/CONTRIBUTING.md vendored Normal file
View File

@@ -0,0 +1,160 @@
# How to become a contributor and submit your own code
## Contributor License Agreements
We'd love to accept your patches! Before we can take them, we
have to jump a couple of legal hurdles.
Please fill out either the individual or corporate Contributor License Agreement
(CLA).
* If you are an individual writing original source code and you're sure you
own the intellectual property, then you'll need to sign an
[individual CLA](https://developers.google.com/open-source/cla/individual).
* If you work for a company that wants to allow you to contribute your work,
then you'll need to sign a
[corporate CLA](https://developers.google.com/open-source/cla/corporate).
Follow either of the two links above to access the appropriate CLA and
instructions for how to sign and return it. Once we receive it, we'll be able to
accept your pull requests.
## Are you a Googler?
If you are a Googler, you can either create an internal change or work on GitHub directly.
## Contributing A Patch
1. Submit an issue describing your proposed change to the
[issue tracker](https://github.com/google/googletest).
1. Please don't mix more than one logical change per submittal,
because it makes the history hard to follow. If you want to make a
change that doesn't have a corresponding issue in the issue
tracker, please create one.
1. Also, coordinate with team members that are listed on the issue in
question. This ensures that work isn't being duplicated and
communicating your plan early also generally leads to better
patches.
1. If your proposed change is accepted, and you haven't already done so, sign a
Contributor License Agreement (see details above).
1. Fork the desired repo, develop and test your code changes.
1. Ensure that your code adheres to the existing style in the sample to which
you are contributing.
1. Ensure that your code has an appropriate set of unit tests which all pass.
1. Submit a pull request.
## The Google Test and Google Mock Communities ##
The Google Test community exists primarily through the
[discussion group](http://groups.google.com/group/googletestframework)
and the GitHub repository.
Likewise, the Google Mock community exists primarily through their own
[discussion group](http://groups.google.com/group/googlemock).
You are definitely encouraged to contribute to the
discussion and you can also help us to keep the effectiveness of the
group high by following and promoting the guidelines listed here.
### Please Be Friendly ###
Showing courtesy and respect to others is a vital part of the Google
culture, and we strongly encourage everyone participating in Google
Test development to join us in accepting nothing less. Of course,
being courteous is not the same as failing to constructively disagree
with each other, but it does mean that we should be respectful of each
other when enumerating the 42 technical reasons that a particular
proposal may not be the best choice. There's never a reason to be
antagonistic or dismissive toward anyone who is sincerely trying to
contribute to a discussion.
Sure, C++ testing is serious business and all that, but it's also
a lot of fun. Let's keep it that way. Let's strive to be one of the
friendliest communities in all of open source.
As always, discuss Google Test in the official GoogleTest discussion group.
You don't have to actually submit code in order to sign up. Your participation
itself is a valuable contribution.
## Style
To keep the source consistent, readable, diffable and easy to merge,
we use a fairly rigid coding style, as defined by the [google-styleguide](https://github.com/google/styleguide) project. All patches will be expected
to conform to the style outlined [here](https://google.github.io/styleguide/cppguide.html).
## Requirements for Contributors ###
If you plan to contribute a patch, you need to build Google Test,
Google Mock, and their own tests from a git checkout, which has
further requirements:
* [Python](https://www.python.org/) v2.3 or newer (for running some of
the tests and re-generating certain source files from templates)
* [CMake](https://cmake.org/) v2.6.4 or newer
* [GNU Build System](https://en.wikipedia.org/wiki/GNU_Build_System)
including automake (>= 1.9), autoconf (>= 2.59), and
libtool / libtoolize.
## Developing Google Test ##
This section discusses how to make your own changes to Google Test.
### Testing Google Test Itself ###
To make sure your changes work as intended and don't break existing
functionality, you'll want to compile and run Google Test's own tests.
For that you can use CMake:
mkdir mybuild
cd mybuild
cmake -Dgtest_build_tests=ON ${GTEST_DIR}
Make sure you have Python installed, as some of Google Test's tests
are written in Python. If the cmake command complains about not being
able to find Python (`Could NOT find PythonInterp (missing:
PYTHON_EXECUTABLE)`), try telling it explicitly where your Python
executable can be found:
cmake -DPYTHON_EXECUTABLE=path/to/python -Dgtest_build_tests=ON ${GTEST_DIR}
Next, you can build Google Test and all of its own tests. On \*nix,
this is usually done by 'make'. To run the tests, do
make test
All tests should pass.
### Regenerating Source Files ##
Some of Google Test's source files are generated from templates (not
in the C++ sense) using a script.
For example, the
file include/gtest/internal/gtest-type-util.h.pump is used to generate
gtest-type-util.h in the same directory.
You don't need to worry about regenerating the source files
unless you need to modify them. You would then modify the
corresponding `.pump` files and run the '[pump.py](googletest/scripts/pump.py)'
generator script. See the [Pump Manual](googletest/docs/PumpManual.md).
## Developing Google Mock ###
This section discusses how to make your own changes to Google Mock.
#### Testing Google Mock Itself ####
To make sure your changes work as intended and don't break existing
functionality, you'll want to compile and run Google Test's own tests.
For that you'll need Autotools. First, make sure you have followed
the instructions above to configure Google Mock.
Then, create a build output directory and enter it. Next,
${GMOCK_DIR}/configure # try --help for more info
Once you have successfully configured Google Mock, the build steps are
standard for GNU-style OSS packages.
make # Standard makefile following GNU conventions
make check # Builds and runs all tests - all should pass.
Note that when building your project against Google Mock, you are building
against Google Test as well. There is no need to configure Google Test
separately.

28
third-party/googletest/LICENSE vendored Normal file
View File

@@ -0,0 +1,28 @@
Copyright 2008, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

14
third-party/googletest/Makefile.am vendored Normal file
View File

@@ -0,0 +1,14 @@
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
# Build . before src so that our all-local and clean-local hooks kicks in at
# the right time.
SUBDIRS = googletest googlemock
EXTRA_DIST = \
BUILD.bazel \
CMakeLists.txt \
README.md \
WORKSPACE

130
third-party/googletest/README.md vendored Normal file
View File

@@ -0,0 +1,130 @@
# Google Test #
[![Build Status](https://travis-ci.org/google/googletest.svg?branch=master)](https://travis-ci.org/google/googletest)
[![Build status](https://ci.appveyor.com/api/projects/status/4o38plt0xbo1ubc8/branch/master?svg=true)](https://ci.appveyor.com/project/GoogleTestAppVeyor/googletest/branch/master)
**Future Plans**:
* 1.8.x Release - the 1.8.x will be the last release that works with pre-C++11 compilers. The 1.8.x will not accept any requests for any new features and any bugfix requests will only be accepted if proven "critical"
* Post 1.8.x - work to improve/cleanup/pay technical debt. When this work is completed there will be a 1.9.x tagged release
* Post 1.9.x googletest will follow [Abseil Live at Head philosophy](https://abseil.io/about/philosophy)
Welcome to **Google Test**, Google's C++ test framework!
This repository is a merger of the formerly separate GoogleTest and
GoogleMock projects. These were so closely related that it makes sense to
maintain and release them together.
Please see the project page above for more information as well as the
mailing list for questions, discussions, and development. There is
also an IRC channel on [OFTC](https://webchat.oftc.net/) (irc.oftc.net) #gtest available. Please
join us!
Getting started information for **Google Test** is available in the
[Google Test Primer](googletest/docs/primer.md) documentation.
**Google Mock** is an extension to Google Test for writing and using C++ mock
classes. See the separate [Google Mock documentation](googlemock/README.md).
More detailed documentation for googletest (including build instructions) are
in its interior [googletest/README.md](googletest/README.md) file.
## Features ##
* An [xUnit](https://en.wikipedia.org/wiki/XUnit) test framework.
* Test discovery.
* A rich set of assertions.
* User-defined assertions.
* Death tests.
* Fatal and non-fatal failures.
* Value-parameterized tests.
* Type-parameterized tests.
* Various options for running the tests.
* XML test report generation.
## Platforms ##
Google test has been used on a variety of platforms:
* Linux
* Mac OS X
* Windows
* Cygwin
* MinGW
* Windows Mobile
* Symbian
## Who Is Using Google Test? ##
In addition to many internal projects at Google, Google Test is also used by
the following notable projects:
* The [Chromium projects](http://www.chromium.org/) (behind the Chrome
browser and Chrome OS).
* The [LLVM](http://llvm.org/) compiler.
* [Protocol Buffers](https://github.com/google/protobuf), Google's data
interchange format.
* The [OpenCV](http://opencv.org/) computer vision library.
* [tiny-dnn](https://github.com/tiny-dnn/tiny-dnn): header only, dependency-free deep learning framework in C++11.
## Related Open Source Projects ##
[GTest Runner](https://github.com/nholthaus/gtest-runner) is a Qt5 based automated test-runner and Graphical User Interface with powerful features for Windows and Linux platforms.
[Google Test UI](https://github.com/ospector/gtest-gbar) is test runner that runs
your test binary, allows you to track its progress via a progress bar, and
displays a list of test failures. Clicking on one shows failure text. Google
Test UI is written in C#.
[GTest TAP Listener](https://github.com/kinow/gtest-tap-listener) is an event
listener for Google Test that implements the
[TAP protocol](https://en.wikipedia.org/wiki/Test_Anything_Protocol) for test
result output. If your test runner understands TAP, you may find it useful.
[gtest-parallel](https://github.com/google/gtest-parallel) is a test runner that
runs tests from your binary in parallel to provide significant speed-up.
[GoogleTest Adapter](https://marketplace.visualstudio.com/items?itemName=DavidSchuldenfrei.gtest-adapter) is a VS Code extension allowing to view Google Tests in a tree view, and run/debug your tests.
## Requirements ##
Google Test is designed to have fairly minimal requirements to build
and use with your projects, but there are some. Currently, we support
Linux, Windows, Mac OS X, and Cygwin. We will also make our best
effort to support other platforms (e.g. Solaris, AIX, and z/OS).
However, since core members of the Google Test project have no access
to these platforms, Google Test may have outstanding issues there. If
you notice any problems on your platform, please notify
[googletestframework@googlegroups.com](https://groups.google.com/forum/#!forum/googletestframework). Patches for fixing them are
even more welcome!
### Linux Requirements ###
These are the base requirements to build and use Google Test from a source
package (as described below):
* GNU-compatible Make or gmake
* POSIX-standard shell
* POSIX(-2) Regular Expressions (regex.h)
* A C++98-standard-compliant compiler
### Windows Requirements ###
* Microsoft Visual C++ 2015 or newer
### Cygwin Requirements ###
* Cygwin v1.5.25-14 or newer
### Mac OS X Requirements ###
* Mac OS X v10.4 Tiger or newer
* Xcode Developer Tools
## Contributing change
Please read the [`CONTRIBUTING.md`](CONTRIBUTING.md) for details on
how to contribute to this project.
Happy testing!

8
third-party/googletest/WORKSPACE vendored Normal file
View File

@@ -0,0 +1,8 @@
workspace(name = "com_google_googletest")
# Abseil
http_archive(
name = "com_google_absl",
urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
strip_prefix = "abseil-cpp-master",
)

104
third-party/googletest/appveyor.yml vendored Normal file
View File

@@ -0,0 +1,104 @@
version: '{build}'
os: Visual Studio 2015
environment:
matrix:
- compiler: msvc-15-seh
generator: "Visual Studio 15 2017"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- compiler: msvc-15-seh
generator: "Visual Studio 15 2017 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
enabled_on_pr: yes
- compiler: msvc-14-seh
generator: "Visual Studio 14 2015"
enabled_on_pr: yes
- compiler: msvc-14-seh
generator: "Visual Studio 14 2015 Win64"
- compiler: gcc-5.3.0-posix
generator: "MinGW Makefiles"
cxx_path: 'C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin'
- compiler: gcc-6.3.0-posix
generator: "MinGW Makefiles"
cxx_path: 'C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin'
configuration:
- Debug
build:
verbosity: minimal
install:
- ps: |
Write-Output "Compiler: $env:compiler"
Write-Output "Generator: $env:generator"
if (-not (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER)) {
Write-Output "This is *NOT* a pull request build"
} else {
Write-Output "This is a pull request build"
if (-not (Test-Path env:enabled_on_pr) -or $env:enabled_on_pr -ne "yes") {
Write-Output "PR builds are *NOT* explicitly enabled"
}
}
# git bash conflicts with MinGW makefiles
if ($env:generator -eq "MinGW Makefiles") {
$env:path = $env:path.replace("C:\Program Files\Git\usr\bin;", "")
if ($env:cxx_path -ne "") {
$env:path += ";$env:cxx_path"
}
}
build_script:
- ps: |
# Only enable some builds for pull requests, the AppVeyor queue is too long.
if ((Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER) -And (-not (Test-Path env:enabled_on_pr) -or $env:enabled_on_pr -ne "yes")) {
return
}
md _build -Force | Out-Null
cd _build
$conf = if ($env:generator -eq "MinGW Makefiles") {"-DCMAKE_BUILD_TYPE=$env:configuration"} else {"-DCMAKE_CONFIGURATION_TYPES=Debug;Release"}
# Disable test for MinGW (gtest tests fail, gmock tests can not build)
$gtest_build_tests = if ($env:generator -eq "MinGW Makefiles") {"-Dgtest_build_tests=OFF"} else {"-Dgtest_build_tests=ON"}
$gmock_build_tests = if ($env:generator -eq "MinGW Makefiles") {"-Dgmock_build_tests=OFF"} else {"-Dgmock_build_tests=ON"}
& cmake -G "$env:generator" $conf -Dgtest_build_samples=ON $gtest_build_tests $gmock_build_tests ..
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
$cmake_parallel = if ($env:generator -eq "MinGW Makefiles") {"-j2"} else {"/m"}
& cmake --build . --config $env:configuration -- $cmake_parallel
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
skip_commits:
files:
- '**/*.md'
test_script:
- ps: |
# Only enable some builds for pull requests, the AppVeyor queue is too long.
if ((Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER) -And (-not (Test-Path env:enabled_on_pr) -or $env:enabled_on_pr -ne "yes")) {
return
}
if ($env:generator -eq "MinGW Makefiles") {
return # No test available for MinGW
}
& ctest -C $env:configuration --timeout 600 --output-on-failure
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
artifacts:
- path: '_build/CMakeFiles/*.log'
name: logs
- path: '_build/Testing/**/*.xml'
name: test_results

View File

@@ -0,0 +1,532 @@
# This is the CMakeCache file.
# For build in directory: /home/zhang/桌面/googletest-release-1.8.1/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Builds the googlemock subproject
BUILD_GMOCK:BOOL=ON
//Build shared libraries (DLLs).
BUILD_SHARED_LIBS:BOOL=OFF
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-9
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-9
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-9
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-9
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin
//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=
//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share
//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=
//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include
//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=
//Object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib
//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec
//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=
//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var
//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=
//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=
//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin
//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com
//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=googletest-distribution
//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=1.9.0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=1
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=9
//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Enable installation of googletest. (Projects embedding googletest
// may want to turn this OFF.)
INSTALL_GTEST:BOOL=ON
//Path to a program.
PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python
//Value Computed by CMake
gmock_BINARY_DIR:STATIC=/home/zhang/桌面/googletest-release-1.8.1/build/googlemock
//Dependencies for the target
gmock_LIB_DEPENDS:STATIC=general;gtest;
//Value Computed by CMake
gmock_SOURCE_DIR:STATIC=/home/zhang/桌面/googletest-release-1.8.1/googlemock
//Build all of Google Mock's own tests.
gmock_build_tests:BOOL=OFF
//Dependencies for the target
gmock_main_LIB_DEPENDS:STATIC=general;gmock;
//Value Computed by CMake
googletest-distribution_BINARY_DIR:STATIC=/home/zhang/桌面/googletest-release-1.8.1/build
//Value Computed by CMake
googletest-distribution_SOURCE_DIR:STATIC=/home/zhang/桌面/googletest-release-1.8.1
//Value Computed by CMake
gtest_BINARY_DIR:STATIC=/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest
//Value Computed by CMake
gtest_SOURCE_DIR:STATIC=/home/zhang/桌面/googletest-release-1.8.1/googletest
//Build gtest's sample programs.
gtest_build_samples:BOOL=OFF
//Build all of gtest's own tests.
gtest_build_tests:BOOL=OFF
//Disable uses of pthreads in gtest.
gtest_disable_pthreads:BOOL=OFF
//Use shared (DLL) run-time lib even when Google Test is built
// as static lib.
gtest_force_shared_crt:BOOL=OFF
//Build gtest with internal symbols hidden in shared libraries.
gtest_hide_internal_symbols:BOOL=OFF
//Dependencies for the target
gtest_main_LIB_DEPENDS:STATIC=general;gtest;
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/zhang/桌面/googletest-release-1.8.1/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=16
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/cmake-gui
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=
//Have include pthread.h
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/zhang/桌面/googletest-release-1.8.1
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=3
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.16
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding PythonInterp
FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/bin/python][v2.7.18()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: PYTHON_EXECUTABLE
PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
THREADS_HAVE_PTHREAD_ARG:INTERNAL=TRUE
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr/local
generated_dir:INTERNAL=/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/generated
targets_export_name:INTERNAL=GTestTargets

View File

@@ -0,0 +1,76 @@
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "9.4.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-9")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@@ -0,0 +1,88 @@
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "9.4.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-9")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/9;/usr/include/x86_64-linux-gnu/c++/9;/usr/include/c++/9/backward;/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-5.15.0-53-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "5.15.0-53-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-5.15.0-53-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "5.15.0-53-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@@ -0,0 +1,671 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
# else
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXE) || defined(__CRAYXC)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number components. */
#ifdef COMPILER_VERSION_MAJOR
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if !defined(__STDC__)
# if (defined(_MSC_VER) && !defined(__clang__)) \
|| (defined(__ibmxl__) || defined(__IBMC__))
# define C_DIALECT "90"
# else
# define C_DIALECT
# endif
#elif __STDC_VERSION__ >= 201000L
# define C_DIALECT "11"
#elif __STDC_VERSION__ >= 199901L
# define C_DIALECT "99"
#else
# define C_DIALECT "90"
#endif
const char* info_language_dialect_default =
"INFO" ":" "dialect_default[" C_DIALECT "]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
# if defined(__CLASSIC_C__)
int main(argc, argv) int argc; char *argv[];
# else
int main(int argc, char* argv[])
# endif
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXE) || defined(__CRAYXC)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}
#endif

Binary file not shown.

View File

@@ -0,0 +1,660 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
/* __COMO_VERSION__ = VRR */
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXE) || defined(__CRAYXC)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number components. */
#ifdef COMPILER_VERSION_MAJOR
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
# if defined(__INTEL_CXX11_MODE__)
# if defined(__cpp_aggregate_nsdmi)
# define CXX_STD 201402L
# else
# define CXX_STD 201103L
# endif
# else
# define CXX_STD 199711L
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# define CXX_STD _MSVC_LANG
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
#if CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXE) || defined(__CRAYXC)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}

Binary file not shown.

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/zhang/桌面/googletest-release-1.8.1")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/zhang/桌面/googletest-release-1.8.1/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,40 @@
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_c155d/fast && /usr/bin/make -f CMakeFiles/cmTC_c155d.dir/build.make CMakeFiles/cmTC_c155d.dir/build
make[1]: 进入目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”
Building C object CMakeFiles/cmTC_c155d.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_c155d.dir/src.c.o -c /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_c155d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c155d.dir/link.txt --verbose=1
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_c155d.dir/src.c.o -o cmTC_c155d
/usr/bin/ld: CMakeFiles/cmTC_c155d.dir/src.c.o: in function `main':
src.c:(.text+0x46): undefined reference to `pthread_create'
/usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach'
/usr/bin/ld: src.c:(.text+0x63): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_c155d.dir/build.make:87cmTC_c155d] 错误 1
make[1]: 离开目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”
make: *** [Makefile:121cmTC_c155d/fast] 错误 2
Source file was:
#include <pthread.h>
void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}

View File

@@ -0,0 +1,477 @@
The system is: Linux - 5.15.0-53-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/3.16.3/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/3.16.3/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_ee2da/fast && /usr/bin/make -f CMakeFiles/cmTC_ee2da.dir/build.make CMakeFiles/cmTC_ee2da.dir/build
make[1]: 进入目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”
Building C object CMakeFiles/cmTC_ee2da.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_ee2da.dir/testCCompiler.c.o -c /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_ee2da
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ee2da.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_ee2da.dir/testCCompiler.c.o -o cmTC_ee2da
make[1]: 离开目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_466f8/fast && /usr/bin/make -f CMakeFiles/cmTC_466f8.dir/build.make CMakeFiles/cmTC_466f8.dir/build
make[1]: Entering directory '/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -v -o CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccaTD1CM.s
GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/gcc/x86_64-linux-gnu/9/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: c0c95c0b4209efec1c1892d5ff24030b
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
as -v --64 -o CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o /tmp/ccaTD1CM.s
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
Linking C executable cmTC_466f8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_466f8.dir/link.txt --verbose=1
/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -o cmTC_466f8
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_466f8' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccuyb1Xh.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_466f8 /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_466f8' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp'
Parsed C implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/lib/gcc/x86_64-linux-gnu/9/include]
add: [/usr/local/include]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/9/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/9/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_466f8/fast && /usr/bin/make -f CMakeFiles/cmTC_466f8.dir/build.make CMakeFiles/cmTC_466f8.dir/build]
ignore line: [make[1]: Entering directory '/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) ]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccaTD1CM.s]
ignore line: [GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: c0c95c0b4209efec1c1892d5ff24030b]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o /tmp/ccaTD1CM.s]
ignore line: [GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
ignore line: [Linking C executable cmTC_466f8]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_466f8.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -o cmTC_466f8 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_466f8' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccuyb1Xh.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_466f8 /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/9/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccuyb1Xh.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_466f8] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..]
arg [CMakeFiles/cmTC_466f8.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--push-state] ==> ignore
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--pop-state] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9] ==> [/usr/lib/gcc/x86_64-linux-gnu/9]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> [/usr/lib]
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_79c24/fast && /usr/bin/make -f CMakeFiles/cmTC_79c24.dir/build.make CMakeFiles/cmTC_79c24.dir/build
make[1]: 进入目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”
Building CXX object CMakeFiles/cmTC_79c24.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_79c24.dir/testCXXCompiler.cxx.o -c /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_79c24
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_79c24.dir/link.txt --verbose=1
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_79c24.dir/testCXXCompiler.cxx.o -o cmTC_79c24
make[1]: 离开目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_46315/fast && /usr/bin/make -f CMakeFiles/cmTC_46315.dir/build.make CMakeFiles/cmTC_46315.dir/build
make[1]: Entering directory '/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -v -o CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cc4TQ4yG.s
GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/9
/usr/include/x86_64-linux-gnu/c++/9
/usr/include/c++/9/backward
/usr/lib/gcc/x86_64-linux-gnu/9/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 65fe925b83d3956b533de4aaba7dace0
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
as -v --64 -o CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o /tmp/cc4TQ4yG.s
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
Linking CXX executable cmTC_46315
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_46315.dir/link.txt --verbose=1
/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_46315
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_46315' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccToLKza.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_46315 /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_46315' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
make[1]: Leaving directory '/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp'
Parsed CXX implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/include/c++/9]
add: [/usr/include/x86_64-linux-gnu/c++/9]
add: [/usr/include/c++/9/backward]
add: [/usr/lib/gcc/x86_64-linux-gnu/9/include]
add: [/usr/local/include]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/include/c++/9] ==> [/usr/include/c++/9]
collapse include dir [/usr/include/x86_64-linux-gnu/c++/9] ==> [/usr/include/x86_64-linux-gnu/c++/9]
collapse include dir [/usr/include/c++/9/backward] ==> [/usr/include/c++/9/backward]
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/9/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/9/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/include/c++/9;/usr/include/x86_64-linux-gnu/c++/9;/usr/include/c++/9/backward;/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_46315/fast && /usr/bin/make -f CMakeFiles/cmTC_46315.dir/build.make CMakeFiles/cmTC_46315.dir/build]
ignore line: [make[1]: Entering directory '/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp']
ignore line: [Building CXX object CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) ]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cc4TQ4yG.s]
ignore line: [GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9"]
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/include/c++/9]
ignore line: [ /usr/include/x86_64-linux-gnu/c++/9]
ignore line: [ /usr/include/c++/9/backward]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.1) version 9.4.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 65fe925b83d3956b533de4aaba7dace0]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o /tmp/cc4TQ4yG.s]
ignore line: [GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
ignore line: [Linking CXX executable cmTC_46315]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_46315.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_46315 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_46315' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccToLKza.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_46315 /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/9/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccToLKza.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_46315] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..]
arg [CMakeFiles/cmTC_46315.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9] ==> [/usr/lib/gcc/x86_64-linux-gnu/9]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_d75d6/fast && /usr/bin/make -f CMakeFiles/cmTC_d75d6.dir/build.make CMakeFiles/cmTC_d75d6.dir/build
make[1]: 进入目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”
Building C object CMakeFiles/cmTC_d75d6.dir/CheckIncludeFile.c.o
/usr/bin/cc -o CMakeFiles/cmTC_d75d6.dir/CheckIncludeFile.c.o -c /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_d75d6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d75d6.dir/link.txt --verbose=1
/usr/bin/cc -rdynamic CMakeFiles/cmTC_d75d6.dir/CheckIncludeFile.c.o -o cmTC_d75d6
make[1]: 离开目录“/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/CMakeTmp”

View File

@@ -0,0 +1,147 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"../CMakeLists.txt"
"CMakeFiles/3.16.3/CMakeCCompiler.cmake"
"CMakeFiles/3.16.3/CMakeCXXCompiler.cmake"
"CMakeFiles/3.16.3/CMakeSystem.cmake"
"../googlemock/CMakeLists.txt"
"../googlemock/cmake/gmock.pc.in"
"../googlemock/cmake/gmock_main.pc.in"
"../googletest/CMakeLists.txt"
"../googletest/cmake/Config.cmake.in"
"../googletest/cmake/gtest.pc.in"
"../googletest/cmake/gtest_main.pc.in"
"../googletest/cmake/internal_utils.cmake"
"/usr/share/cmake-3.16/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in"
"/usr/share/cmake-3.16/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake-3.16/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-3.16/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake-3.16/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.16/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
"/usr/share/cmake-3.16/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDependentOption.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompileFeatures.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake-3.16/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake-3.16/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.16/Modules/CMakeInitializeConfigs.cmake"
"/usr/share/cmake-3.16/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.16/Modules/CMakePackageConfigHelpers.cmake"
"/usr/share/cmake-3.16/Modules/CMakeParseImplicitIncludeInfo.cmake"
"/usr/share/cmake-3.16/Modules/CMakeParseImplicitLinkInfo.cmake"
"/usr/share/cmake-3.16/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake-3.16/Modules/CMakeTestCompilerCommon.cmake"
"/usr/share/cmake-3.16/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake-3.16/Modules/CheckCSourceCompiles.cmake"
"/usr/share/cmake-3.16/Modules/CheckForPthreads.c"
"/usr/share/cmake-3.16/Modules/CheckIncludeFile.c.in"
"/usr/share/cmake-3.16/Modules/CheckIncludeFile.cmake"
"/usr/share/cmake-3.16/Modules/CheckLibraryExists.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/GNU-FindBinUtils.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/TI-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake"
"/usr/share/cmake-3.16/Modules/FindPackageMessage.cmake"
"/usr/share/cmake-3.16/Modules/FindPythonInterp.cmake"
"/usr/share/cmake-3.16/Modules/FindThreads.cmake"
"/usr/share/cmake-3.16/Modules/GNUInstallDirs.cmake"
"/usr/share/cmake-3.16/Modules/Internal/CMakeCheckCompilerFlag.cmake"
"/usr/share/cmake-3.16/Modules/Internal/FeatureTesting.cmake"
"/usr/share/cmake-3.16/Modules/Platform/Linux-Determine-CXX.cmake"
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU.cmake"
"/usr/share/cmake-3.16/Modules/Platform/Linux.cmake"
"/usr/share/cmake-3.16/Modules/Platform/UnixPaths.cmake"
"/usr/share/cmake-3.16/Modules/WriteBasicConfigVersionFile.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/3.16.3/CMakeSystem.cmake"
"CMakeFiles/3.16.3/CMakeCCompiler.cmake"
"CMakeFiles/3.16.3/CMakeCXXCompiler.cmake"
"CMakeFiles/3.16.3/CMakeCCompiler.cmake"
"CMakeFiles/3.16.3/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeDirectoryInformation.cmake"
"googlemock/CMakeFiles/CMakeDirectoryInformation.cmake"
"googlemock/gtest/CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"googlemock/CMakeFiles/gmock_main.dir/DependInfo.cmake"
"googlemock/CMakeFiles/gmock.dir/DependInfo.cmake"
"googlemock/gtest/CMakeFiles/gtest_main.dir/DependInfo.cmake"
"googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake"
)

View File

@@ -0,0 +1,230 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: googlemock/all
.PHONY : all
# The main recursive "preinstall" target.
preinstall: googlemock/preinstall
.PHONY : preinstall
# The main recursive "clean" target.
clean: googlemock/clean
.PHONY : clean
#=============================================================================
# Directory level rules for directory googlemock
# Recursive "all" directory target.
googlemock/all: googlemock/CMakeFiles/gmock_main.dir/all
googlemock/all: googlemock/CMakeFiles/gmock.dir/all
googlemock/all: googlemock/gtest/all
.PHONY : googlemock/all
# Recursive "preinstall" directory target.
googlemock/preinstall: googlemock/gtest/preinstall
.PHONY : googlemock/preinstall
# Recursive "clean" directory target.
googlemock/clean: googlemock/CMakeFiles/gmock_main.dir/clean
googlemock/clean: googlemock/CMakeFiles/gmock.dir/clean
googlemock/clean: googlemock/gtest/clean
.PHONY : googlemock/clean
#=============================================================================
# Directory level rules for directory googlemock/gtest
# Recursive "all" directory target.
googlemock/gtest/all: googlemock/gtest/CMakeFiles/gtest_main.dir/all
googlemock/gtest/all: googlemock/gtest/CMakeFiles/gtest.dir/all
.PHONY : googlemock/gtest/all
# Recursive "preinstall" directory target.
googlemock/gtest/preinstall:
.PHONY : googlemock/gtest/preinstall
# Recursive "clean" directory target.
googlemock/gtest/clean: googlemock/gtest/CMakeFiles/gtest_main.dir/clean
googlemock/gtest/clean: googlemock/gtest/CMakeFiles/gtest.dir/clean
.PHONY : googlemock/gtest/clean
#=============================================================================
# Target rules for target googlemock/CMakeFiles/gmock_main.dir
# All Build rule for target.
googlemock/CMakeFiles/gmock_main.dir/all: googlemock/gtest/CMakeFiles/gtest.dir/all
googlemock/CMakeFiles/gmock_main.dir/all: googlemock/CMakeFiles/gmock.dir/all
$(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/depend
$(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=3,4 "Built target gmock_main"
.PHONY : googlemock/CMakeFiles/gmock_main.dir/all
# Build rule for subdir invocation for target.
googlemock/CMakeFiles/gmock_main.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 6
$(MAKE) -f CMakeFiles/Makefile2 googlemock/CMakeFiles/gmock_main.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 0
.PHONY : googlemock/CMakeFiles/gmock_main.dir/rule
# Convenience name for target.
gmock_main: googlemock/CMakeFiles/gmock_main.dir/rule
.PHONY : gmock_main
# clean rule for target.
googlemock/CMakeFiles/gmock_main.dir/clean:
$(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/clean
.PHONY : googlemock/CMakeFiles/gmock_main.dir/clean
#=============================================================================
# Target rules for target googlemock/CMakeFiles/gmock.dir
# All Build rule for target.
googlemock/CMakeFiles/gmock.dir/all: googlemock/gtest/CMakeFiles/gtest.dir/all
$(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/depend
$(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=1,2 "Built target gmock"
.PHONY : googlemock/CMakeFiles/gmock.dir/all
# Build rule for subdir invocation for target.
googlemock/CMakeFiles/gmock.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 4
$(MAKE) -f CMakeFiles/Makefile2 googlemock/CMakeFiles/gmock.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 0
.PHONY : googlemock/CMakeFiles/gmock.dir/rule
# Convenience name for target.
gmock: googlemock/CMakeFiles/gmock.dir/rule
.PHONY : gmock
# clean rule for target.
googlemock/CMakeFiles/gmock.dir/clean:
$(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/clean
.PHONY : googlemock/CMakeFiles/gmock.dir/clean
#=============================================================================
# Target rules for target googlemock/gtest/CMakeFiles/gtest_main.dir
# All Build rule for target.
googlemock/gtest/CMakeFiles/gtest_main.dir/all: googlemock/gtest/CMakeFiles/gtest.dir/all
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/depend
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=7,8 "Built target gtest_main"
.PHONY : googlemock/gtest/CMakeFiles/gtest_main.dir/all
# Build rule for subdir invocation for target.
googlemock/gtest/CMakeFiles/gtest_main.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 4
$(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/CMakeFiles/gtest_main.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 0
.PHONY : googlemock/gtest/CMakeFiles/gtest_main.dir/rule
# Convenience name for target.
gtest_main: googlemock/gtest/CMakeFiles/gtest_main.dir/rule
.PHONY : gtest_main
# clean rule for target.
googlemock/gtest/CMakeFiles/gtest_main.dir/clean:
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/clean
.PHONY : googlemock/gtest/CMakeFiles/gtest_main.dir/clean
#=============================================================================
# Target rules for target googlemock/gtest/CMakeFiles/gtest.dir
# All Build rule for target.
googlemock/gtest/CMakeFiles/gtest.dir/all:
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/depend
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=5,6 "Built target gtest"
.PHONY : googlemock/gtest/CMakeFiles/gtest.dir/all
# Build rule for subdir invocation for target.
googlemock/gtest/CMakeFiles/gtest.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/CMakeFiles/gtest.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 0
.PHONY : googlemock/gtest/CMakeFiles/gtest.dir/rule
# Convenience name for target.
gtest: googlemock/gtest/CMakeFiles/gtest.dir/rule
.PHONY : gtest
# clean rule for target.
googlemock/gtest/CMakeFiles/gtest.dir/clean:
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/clean
.PHONY : googlemock/gtest/CMakeFiles/gtest.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,25 @@
/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/install/strip.dir
/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/install/local.dir
/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/install.dir
/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/list_install_components.dir
/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/rebuild_cache.dir
/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/edit_cache.dir
/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/test.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/install/strip.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/install/local.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/install.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/list_install_components.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/rebuild_cache.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/edit_cache.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/test.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/gmock_main.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/gmock.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/install/strip.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/install/local.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/install.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/list_install_components.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/rebuild_cache.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/edit_cache.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/test.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest_main.dir
/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest.dir

View File

@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@@ -0,0 +1 @@
8

View File

@@ -0,0 +1,7 @@
# CMake generated Testfile for
# Source directory: /home/zhang/桌面/googletest-release-1.8.1
# Build directory: /home/zhang/桌面/googletest-release-1.8.1/build
#
# This file includes the relevant testing commands required for
# testing this directory and lists subdirectories to be tested as well.
subdirs("googlemock")

252
third-party/googletest/build/Makefile vendored Normal file
View File

@@ -0,0 +1,252 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/usr/bin/cmake-gui -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named gmock_main
# Build rule for target.
gmock_main: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 gmock_main
.PHONY : gmock_main
# fast build rule for target.
gmock_main/fast:
$(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/build
.PHONY : gmock_main/fast
#=============================================================================
# Target rules for targets named gmock
# Build rule for target.
gmock: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 gmock
.PHONY : gmock
# fast build rule for target.
gmock/fast:
$(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/build
.PHONY : gmock/fast
#=============================================================================
# Target rules for targets named gtest_main
# Build rule for target.
gtest_main: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 gtest_main
.PHONY : gtest_main
# fast build rule for target.
gtest_main/fast:
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/build
.PHONY : gtest_main/fast
#=============================================================================
# Target rules for targets named gtest
# Build rule for target.
gtest: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 gtest
.PHONY : gtest
# fast build rule for target.
gtest/fast:
$(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/build
.PHONY : gtest/fast
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... install/strip"
@echo "... install/local"
@echo "... install"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... edit_cache"
@echo "... test"
@echo "... gmock_main"
@echo "... gmock"
@echo "... gtest_main"
@echo "... gtest"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,55 @@
# Install script for directory: /home/zhang/桌面/googletest-release-1.8.1
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
include("/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/cmake_install.cmake")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/home/zhang/桌面/googletest-release-1.8.1/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/zhang/桌面/googletest-release-1.8.1")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/zhang/桌面/googletest-release-1.8.1/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,562 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
../googlemock/include/gmock/gmock-actions.h
errno.h
-
algorithm
-
string
-
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
functional
-
type_traits
-
../googlemock/include/gmock/gmock-cardinalities.h
limits.h
-
ostream
-
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
gtest/gtest.h
../googlemock/include/gmock/gtest/gtest.h
../googlemock/include/gmock/gmock-generated-actions.h
gmock/gmock-actions.h
../googlemock/include/gmock/gmock/gmock-actions.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/gmock-generated-function-mockers.h
gmock/gmock-spec-builders.h
../googlemock/include/gmock/gmock/gmock-spec-builders.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
functional
-
../googlemock/include/gmock/gmock-generated-matchers.h
iterator
-
sstream
-
string
-
vector
-
gmock/gmock-matchers.h
../googlemock/include/gmock/gmock/gmock-matchers.h
../googlemock/include/gmock/gmock-generated-nice-strict.h
gmock/gmock-spec-builders.h
../googlemock/include/gmock/gmock/gmock-spec-builders.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock-matchers.h
math.h
-
algorithm
-
iterator
-
limits
-
ostream
-
sstream
-
string
-
utility
-
vector
-
gtest/gtest.h
../googlemock/include/gmock/gtest/gtest.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
initializer_list
-
gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/gmock-more-actions.h
algorithm
-
gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock-more-matchers.h
gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock-spec-builders.h
map
-
set
-
sstream
-
string
-
vector
-
gmock/gmock-actions.h
../googlemock/include/gmock/gmock/gmock-actions.h
gmock/gmock-cardinalities.h
../googlemock/include/gmock/gmock/gmock-cardinalities.h
gmock/gmock-matchers.h
../googlemock/include/gmock/gmock/gmock-matchers.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
gtest/gtest.h
../googlemock/include/gmock/gtest/gtest.h
stdexcept
-
../googlemock/include/gmock/gmock.h
gmock/gmock-actions.h
../googlemock/include/gmock/gmock/gmock-actions.h
gmock/gmock-cardinalities.h
../googlemock/include/gmock/gmock/gmock-cardinalities.h
gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock/gmock-generated-actions.h
gmock/gmock-generated-function-mockers.h
../googlemock/include/gmock/gmock/gmock-generated-function-mockers.h
gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock/gmock-generated-matchers.h
gmock/gmock-generated-nice-strict.h
../googlemock/include/gmock/gmock/gmock-generated-nice-strict.h
gmock/gmock-matchers.h
../googlemock/include/gmock/gmock/gmock-matchers.h
gmock/gmock-more-actions.h
../googlemock/include/gmock/gmock/gmock-more-actions.h
gmock/gmock-more-matchers.h
../googlemock/include/gmock/gmock/gmock-more-matchers.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/internal/custom/gmock-port.h
../googlemock/include/gmock/internal/gmock-generated-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/internal/gmock/internal/gmock-port.h
../googlemock/include/gmock/internal/gmock-internal-utils.h
stdio.h
-
ostream
-
string
-
gmock/internal/gmock-generated-internal-utils.h
../googlemock/include/gmock/internal/gmock/internal/gmock-generated-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/internal/gmock/internal/gmock-port.h
gtest/gtest.h
../googlemock/include/gmock/internal/gtest/gtest.h
../googlemock/include/gmock/internal/gmock-port.h
assert.h
-
stdlib.h
-
iostream
-
gtest/internal/gtest-linked_ptr.h
../googlemock/include/gmock/internal/gtest/internal/gtest-linked_ptr.h
gtest/internal/gtest-port.h
../googlemock/include/gmock/internal/gtest/internal/gtest-port.h
gmock/internal/custom/gmock-port.h
../googlemock/include/gmock/internal/gmock/internal/custom/gmock-port.h
../googlemock/src/gmock-cardinalities.cc
gmock/gmock-cardinalities.h
../googlemock/src/gmock/gmock-cardinalities.h
limits.h
-
ostream
-
sstream
-
string
-
gmock/internal/gmock-internal-utils.h
../googlemock/src/gmock/internal/gmock-internal-utils.h
gtest/gtest.h
../googlemock/src/gtest/gtest.h
../googlemock/src/gmock-internal-utils.cc
gmock/internal/gmock-internal-utils.h
../googlemock/src/gmock/internal/gmock-internal-utils.h
ctype.h
-
ostream
-
string
-
gmock/gmock.h
../googlemock/src/gmock/gmock.h
gmock/internal/gmock-port.h
../googlemock/src/gmock/internal/gmock-port.h
gtest/gtest.h
../googlemock/src/gtest/gtest.h
../googlemock/src/gmock-matchers.cc
gmock/gmock-matchers.h
../googlemock/src/gmock/gmock-matchers.h
gmock/gmock-generated-matchers.h
../googlemock/src/gmock/gmock-generated-matchers.h
string.h
-
iostream
-
sstream
-
string
-
../googlemock/src/gmock-spec-builders.cc
gmock/gmock-spec-builders.h
../googlemock/src/gmock/gmock-spec-builders.h
stdlib.h
-
iostream
-
map
-
set
-
string
-
vector
-
gmock/gmock.h
../googlemock/src/gmock/gmock.h
gtest/gtest.h
../googlemock/src/gtest/gtest.h
unistd.h
-
../googlemock/src/gmock.cc
gmock/gmock.h
../googlemock/src/gmock/gmock.h
gmock/internal/gmock-port.h
../googlemock/src/gmock/internal/gmock-port.h
../googletest/include/gtest/gtest-death-test.h
gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest-message.h
limits
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
../googletest/include/gtest/gtest-param-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
utility
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/gtest/internal/gtest-param-util.h
gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest-printers.h
ostream
-
sstream
-
string
-
utility
-
vector
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
tuple
-
absl/strings/string_view.h
../googletest/include/gtest/absl/strings/string_view.h
absl/types/optional.h
../googletest/include/gtest/absl/types/optional.h
absl/types/variant.h
../googletest/include/gtest/absl/types/variant.h
gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest-test-part.h
iosfwd
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
../googletest/include/gtest/gtest-typed-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest.h
limits
-
ostream
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
gtest/gtest-death-test.h
../googletest/include/gtest/gtest/gtest-death-test.h
gtest/gtest-message.h
../googletest/include/gtest/gtest/gtest-message.h
gtest/gtest-param-test.h
../googletest/include/gtest/gtest/gtest-param-test.h
gtest/gtest-printers.h
../googletest/include/gtest/gtest/gtest-printers.h
gtest/gtest_prod.h
../googletest/include/gtest/gtest/gtest_prod.h
gtest/gtest-test-part.h
../googletest/include/gtest/gtest/gtest-test-part.h
gtest/gtest-typed-test.h
../googletest/include/gtest/gtest/gtest-typed-test.h
gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_pred_impl.h
gtest/gtest.h
../googletest/include/gtest/gtest/gtest.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
stdio.h
-
../googletest/include/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
stdlib.h
-
sys/types.h
-
sys/wait.h
-
unistd.h
-
stdexcept
-
ctype.h
-
float.h
-
string.h
-
iomanip
-
limits
-
map
-
set
-
string
-
vector
-
gtest/gtest-message.h
../googletest/include/gtest/internal/gtest/gtest-message.h
gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
stdlib.h
-
assert.h
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-param-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util.h
ctype.h
-
iterator
-
set
-
utility
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest/internal/gtest-linked_ptr.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest-port-arch.h
winapifamily.h
-
../googletest/include/gtest/internal/gtest-port.h
ctype.h
-
stddef.h
-
stdlib.h
-
stdio.h
-
string.h
-
sys/types.h
-
sys/stat.h
-
AvailabilityMacros.h
-
TargetConditionals.h
-
string
-
algorithm
-
iostream
-
sstream
-
utility
-
vector
-
gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest/internal/gtest-port-arch.h
gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/custom/gtest-port.h
direct.h
-
io.h
-
unistd.h
-
strings.h
-
android/api-level.h
-
regex.h
-
typeinfo
-
pthread.h
-
time.h
-
tuple
-
gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest/internal/gtest-tuple.h
tuple
-
tr1/tuple
-
tr1/tuple
-
tuple
-
tr1/tuple
-
../googletest/include/gtest/internal/gtest-string.h
mem.h
-
string.h
-
string
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-tuple.h
utility
-
../googletest/include/gtest/internal/gtest-type-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
cxxabi.h
-
acxx_demangle.h
-
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock-all.cc
gmock/gmock.h
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock/gmock.h
src/gmock-cardinalities.cc
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/src/gmock-cardinalities.cc
src/gmock-internal-utils.cc
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/src/gmock-internal-utils.cc
src/gmock-matchers.cc
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/src/gmock-matchers.cc
src/gmock-spec-builders.cc
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/src/gmock-spec-builders.cc
src/gmock.cc
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/src/gmock.cc

View File

@@ -0,0 +1,25 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock-all.cc" "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"../googlemock/include"
"../googlemock"
"../googletest/include"
"../googletest"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,99 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
# Include any dependencies generated for this target.
include googlemock/CMakeFiles/gmock.dir/depend.make
# Include the progress variables for this target.
include googlemock/CMakeFiles/gmock.dir/progress.make
# Include the compile flags for this target's objects.
include googlemock/CMakeFiles/gmock.dir/flags.make
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: googlemock/CMakeFiles/gmock.dir/flags.make
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/src/gmock-all.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gmock.dir/src/gmock-all.cc.o -c /home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock-all.cc
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gmock.dir/src/gmock-all.cc.i"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock-all.cc > CMakeFiles/gmock.dir/src/gmock-all.cc.i
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gmock.dir/src/gmock-all.cc.s"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock-all.cc -o CMakeFiles/gmock.dir/src/gmock-all.cc.s
# Object files for target gmock
gmock_OBJECTS = \
"CMakeFiles/gmock.dir/src/gmock-all.cc.o"
# External object files for target gmock
gmock_EXTERNAL_OBJECTS =
googlemock/libgmock.a: googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
googlemock/libgmock.a: googlemock/CMakeFiles/gmock.dir/build.make
googlemock/libgmock.a: googlemock/CMakeFiles/gmock.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgmock.a"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && $(CMAKE_COMMAND) -P CMakeFiles/gmock.dir/cmake_clean_target.cmake
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gmock.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
googlemock/CMakeFiles/gmock.dir/build: googlemock/libgmock.a
.PHONY : googlemock/CMakeFiles/gmock.dir/build
googlemock/CMakeFiles/gmock.dir/clean:
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && $(CMAKE_COMMAND) -P CMakeFiles/gmock.dir/cmake_clean.cmake
.PHONY : googlemock/CMakeFiles/gmock.dir/clean
googlemock/CMakeFiles/gmock.dir/depend:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zhang/桌面/googletest-release-1.8.1 /home/zhang/桌面/googletest-release-1.8.1/googlemock /home/zhang/桌面/googletest-release-1.8.1/build /home/zhang/桌面/googletest-release-1.8.1/build/googlemock /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/gmock.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : googlemock/CMakeFiles/gmock.dir/depend

View File

@@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/gmock.dir/src/gmock-all.cc.o"
"libgmock.a"
"libgmock.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/gmock.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,3 @@
file(REMOVE_RECURSE
"libgmock.a"
)

View File

@@ -0,0 +1,49 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
../googlemock/include/gmock/gmock-actions.h
../googlemock/include/gmock/gmock-cardinalities.h
../googlemock/include/gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock-generated-function-mockers.h
../googlemock/include/gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock-generated-nice-strict.h
../googlemock/include/gmock/gmock-matchers.h
../googlemock/include/gmock/gmock-more-actions.h
../googlemock/include/gmock/gmock-more-matchers.h
../googlemock/include/gmock/gmock-spec-builders.h
../googlemock/include/gmock/gmock.h
../googlemock/include/gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/internal/custom/gmock-port.h
../googlemock/include/gmock/internal/gmock-generated-internal-utils.h
../googlemock/include/gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/internal/gmock-port.h
../googlemock/src/gmock-cardinalities.cc
../googlemock/src/gmock-internal-utils.cc
../googlemock/src/gmock-matchers.cc
../googlemock/src/gmock-spec-builders.cc
../googlemock/src/gmock.cc
../googletest/include/gtest/gtest-death-test.h
../googletest/include/gtest/gtest-message.h
../googletest/include/gtest/gtest-param-test.h
../googletest/include/gtest/gtest-printers.h
../googletest/include/gtest/gtest-test-part.h
../googletest/include/gtest/gtest-typed-test.h
../googletest/include/gtest/gtest.h
../googletest/include/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest-type-util.h
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock-all.cc

View File

@@ -0,0 +1,49 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-actions.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-cardinalities.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-generated-actions.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-generated-function-mockers.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-generated-matchers.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-generated-nice-strict.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-matchers.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-more-actions.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-more-matchers.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock-spec-builders.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/gmock.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/internal/custom/gmock-generated-actions.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/internal/custom/gmock-matchers.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/internal/custom/gmock-port.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/internal/gmock-generated-internal-utils.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/internal/gmock-internal-utils.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/include/gmock/internal/gmock-port.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/src/gmock-cardinalities.cc
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/src/gmock-internal-utils.cc
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/src/gmock-matchers.cc
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/src/gmock-spec-builders.cc
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/src/gmock.cc
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest-death-test.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest-message.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest-param-test.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest-printers.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest-test-part.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest-typed-test.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest_pred_impl.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/gtest_prod.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/custom/gtest-port.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/custom/gtest-printers.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-death-test-internal.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-filepath.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-internal.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-linked_ptr.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-param-util-generated.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-param-util.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-port-arch.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-port.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-string.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-tuple.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googletest/include/gtest/internal/gtest-type-util.h
googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: ../googlemock/src/gmock-all.cc

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# compile CXX with /usr/bin/c++
CXX_FLAGS = -Wall -Wshadow -Werror -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -pthread
CXX_DEFINES =
CXX_INCLUDES = -I/home/zhang/桌面/googletest-release-1.8.1/googlemock/include -I/home/zhang/桌面/googletest-release-1.8.1/googlemock -isystem /home/zhang/桌面/googletest-release-1.8.1/googletest/include -isystem /home/zhang/桌面/googletest-release-1.8.1/googletest

View File

@@ -0,0 +1,2 @@
/usr/bin/ar qc libgmock.a CMakeFiles/gmock.dir/src/gmock-all.cc.o
/usr/bin/ranlib libgmock.a

View File

@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2

View File

@@ -0,0 +1,484 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
../googlemock/include/gmock/gmock-actions.h
errno.h
-
algorithm
-
string
-
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
functional
-
type_traits
-
../googlemock/include/gmock/gmock-cardinalities.h
limits.h
-
ostream
-
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
gtest/gtest.h
../googlemock/include/gmock/gtest/gtest.h
../googlemock/include/gmock/gmock-generated-actions.h
gmock/gmock-actions.h
../googlemock/include/gmock/gmock/gmock-actions.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/gmock-generated-function-mockers.h
gmock/gmock-spec-builders.h
../googlemock/include/gmock/gmock/gmock-spec-builders.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
functional
-
../googlemock/include/gmock/gmock-generated-matchers.h
iterator
-
sstream
-
string
-
vector
-
gmock/gmock-matchers.h
../googlemock/include/gmock/gmock/gmock-matchers.h
../googlemock/include/gmock/gmock-generated-nice-strict.h
gmock/gmock-spec-builders.h
../googlemock/include/gmock/gmock/gmock-spec-builders.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock-matchers.h
math.h
-
algorithm
-
iterator
-
limits
-
ostream
-
sstream
-
string
-
utility
-
vector
-
gtest/gtest.h
../googlemock/include/gmock/gtest/gtest.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
initializer_list
-
gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/gmock-more-actions.h
algorithm
-
gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock-more-matchers.h
gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock-spec-builders.h
map
-
set
-
sstream
-
string
-
vector
-
gmock/gmock-actions.h
../googlemock/include/gmock/gmock/gmock-actions.h
gmock/gmock-cardinalities.h
../googlemock/include/gmock/gmock/gmock-cardinalities.h
gmock/gmock-matchers.h
../googlemock/include/gmock/gmock/gmock-matchers.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/gmock/internal/gmock-port.h
gtest/gtest.h
../googlemock/include/gmock/gtest/gtest.h
stdexcept
-
../googlemock/include/gmock/gmock.h
gmock/gmock-actions.h
../googlemock/include/gmock/gmock/gmock-actions.h
gmock/gmock-cardinalities.h
../googlemock/include/gmock/gmock/gmock-cardinalities.h
gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock/gmock-generated-actions.h
gmock/gmock-generated-function-mockers.h
../googlemock/include/gmock/gmock/gmock-generated-function-mockers.h
gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock/gmock-generated-matchers.h
gmock/gmock-generated-nice-strict.h
../googlemock/include/gmock/gmock/gmock-generated-nice-strict.h
gmock/gmock-matchers.h
../googlemock/include/gmock/gmock/gmock-matchers.h
gmock/gmock-more-actions.h
../googlemock/include/gmock/gmock/gmock-more-actions.h
gmock/gmock-more-matchers.h
../googlemock/include/gmock/gmock/gmock-more-matchers.h
gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/internal/custom/gmock-port.h
../googlemock/include/gmock/internal/gmock-generated-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/internal/gmock/internal/gmock-port.h
../googlemock/include/gmock/internal/gmock-internal-utils.h
stdio.h
-
ostream
-
string
-
gmock/internal/gmock-generated-internal-utils.h
../googlemock/include/gmock/internal/gmock/internal/gmock-generated-internal-utils.h
gmock/internal/gmock-port.h
../googlemock/include/gmock/internal/gmock/internal/gmock-port.h
gtest/gtest.h
../googlemock/include/gmock/internal/gtest/gtest.h
../googlemock/include/gmock/internal/gmock-port.h
assert.h
-
stdlib.h
-
iostream
-
gtest/internal/gtest-linked_ptr.h
../googlemock/include/gmock/internal/gtest/internal/gtest-linked_ptr.h
gtest/internal/gtest-port.h
../googlemock/include/gmock/internal/gtest/internal/gtest-port.h
gmock/internal/custom/gmock-port.h
../googlemock/include/gmock/internal/gmock/internal/custom/gmock-port.h
../googletest/include/gtest/gtest-death-test.h
gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest-message.h
limits
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
../googletest/include/gtest/gtest-param-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
utility
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/gtest/internal/gtest-param-util.h
gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest-printers.h
ostream
-
sstream
-
string
-
utility
-
vector
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
tuple
-
absl/strings/string_view.h
../googletest/include/gtest/absl/strings/string_view.h
absl/types/optional.h
../googletest/include/gtest/absl/types/optional.h
absl/types/variant.h
../googletest/include/gtest/absl/types/variant.h
gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest-test-part.h
iosfwd
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
../googletest/include/gtest/gtest-typed-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest.h
limits
-
ostream
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
gtest/gtest-death-test.h
../googletest/include/gtest/gtest/gtest-death-test.h
gtest/gtest-message.h
../googletest/include/gtest/gtest/gtest-message.h
gtest/gtest-param-test.h
../googletest/include/gtest/gtest/gtest-param-test.h
gtest/gtest-printers.h
../googletest/include/gtest/gtest/gtest-printers.h
gtest/gtest_prod.h
../googletest/include/gtest/gtest/gtest_prod.h
gtest/gtest-test-part.h
../googletest/include/gtest/gtest/gtest-test-part.h
gtest/gtest-typed-test.h
../googletest/include/gtest/gtest/gtest-typed-test.h
gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_pred_impl.h
gtest/gtest.h
../googletest/include/gtest/gtest/gtest.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
stdio.h
-
../googletest/include/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
stdlib.h
-
sys/types.h
-
sys/wait.h
-
unistd.h
-
stdexcept
-
ctype.h
-
float.h
-
string.h
-
iomanip
-
limits
-
map
-
set
-
string
-
vector
-
gtest/gtest-message.h
../googletest/include/gtest/internal/gtest/gtest-message.h
gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
stdlib.h
-
assert.h
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-param-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util.h
ctype.h
-
iterator
-
set
-
utility
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest/internal/gtest-linked_ptr.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest-port-arch.h
winapifamily.h
-
../googletest/include/gtest/internal/gtest-port.h
ctype.h
-
stddef.h
-
stdlib.h
-
stdio.h
-
string.h
-
sys/types.h
-
sys/stat.h
-
AvailabilityMacros.h
-
TargetConditionals.h
-
string
-
algorithm
-
iostream
-
sstream
-
utility
-
vector
-
gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest/internal/gtest-port-arch.h
gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/custom/gtest-port.h
direct.h
-
io.h
-
unistd.h
-
strings.h
-
android/api-level.h
-
regex.h
-
typeinfo
-
pthread.h
-
time.h
-
tuple
-
gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest/internal/gtest-tuple.h
tuple
-
tr1/tuple
-
tr1/tuple
-
tuple
-
tr1/tuple
-
../googletest/include/gtest/internal/gtest-string.h
mem.h
-
string.h
-
string
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-tuple.h
utility
-
../googletest/include/gtest/internal/gtest-type-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
cxxabi.h
-
acxx_demangle.h
-
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock_main.cc
iostream
-
gmock/gmock.h
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock/gmock.h
gtest/gtest.h
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gtest/gtest.h
tchar.h
-

View File

@@ -0,0 +1,26 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock_main.cc" "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"../googlemock/include"
"../googlemock"
"../googletest/include"
"../googletest"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/gmock.dir/DependInfo.cmake"
"/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,99 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
# Include any dependencies generated for this target.
include googlemock/CMakeFiles/gmock_main.dir/depend.make
# Include the progress variables for this target.
include googlemock/CMakeFiles/gmock_main.dir/progress.make
# Include the compile flags for this target's objects.
include googlemock/CMakeFiles/gmock_main.dir/flags.make
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: googlemock/CMakeFiles/gmock_main.dir/flags.make
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/src/gmock_main.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gmock_main.dir/src/gmock_main.cc.o -c /home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock_main.cc
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gmock_main.dir/src/gmock_main.cc.i"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock_main.cc > CMakeFiles/gmock_main.dir/src/gmock_main.cc.i
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gmock_main.dir/src/gmock_main.cc.s"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock_main.cc -o CMakeFiles/gmock_main.dir/src/gmock_main.cc.s
# Object files for target gmock_main
gmock_main_OBJECTS = \
"CMakeFiles/gmock_main.dir/src/gmock_main.cc.o"
# External object files for target gmock_main
gmock_main_EXTERNAL_OBJECTS =
googlemock/libgmock_main.a: googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
googlemock/libgmock_main.a: googlemock/CMakeFiles/gmock_main.dir/build.make
googlemock/libgmock_main.a: googlemock/CMakeFiles/gmock_main.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgmock_main.a"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && $(CMAKE_COMMAND) -P CMakeFiles/gmock_main.dir/cmake_clean_target.cmake
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gmock_main.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
googlemock/CMakeFiles/gmock_main.dir/build: googlemock/libgmock_main.a
.PHONY : googlemock/CMakeFiles/gmock_main.dir/build
googlemock/CMakeFiles/gmock_main.dir/clean:
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock && $(CMAKE_COMMAND) -P CMakeFiles/gmock_main.dir/cmake_clean.cmake
.PHONY : googlemock/CMakeFiles/gmock_main.dir/clean
googlemock/CMakeFiles/gmock_main.dir/depend:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zhang/桌面/googletest-release-1.8.1 /home/zhang/桌面/googletest-release-1.8.1/googlemock /home/zhang/桌面/googletest-release-1.8.1/build /home/zhang/桌面/googletest-release-1.8.1/build/googlemock /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/gmock_main.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : googlemock/CMakeFiles/gmock_main.dir/depend

View File

@@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/gmock_main.dir/src/gmock_main.cc.o"
"libgmock_main.a"
"libgmock_main.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/gmock_main.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,3 @@
file(REMOVE_RECURSE
"libgmock_main.a"
)

View File

@@ -0,0 +1,44 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
../googlemock/include/gmock/gmock-actions.h
../googlemock/include/gmock/gmock-cardinalities.h
../googlemock/include/gmock/gmock-generated-actions.h
../googlemock/include/gmock/gmock-generated-function-mockers.h
../googlemock/include/gmock/gmock-generated-matchers.h
../googlemock/include/gmock/gmock-generated-nice-strict.h
../googlemock/include/gmock/gmock-matchers.h
../googlemock/include/gmock/gmock-more-actions.h
../googlemock/include/gmock/gmock-more-matchers.h
../googlemock/include/gmock/gmock-spec-builders.h
../googlemock/include/gmock/gmock.h
../googlemock/include/gmock/internal/custom/gmock-generated-actions.h
../googlemock/include/gmock/internal/custom/gmock-matchers.h
../googlemock/include/gmock/internal/custom/gmock-port.h
../googlemock/include/gmock/internal/gmock-generated-internal-utils.h
../googlemock/include/gmock/internal/gmock-internal-utils.h
../googlemock/include/gmock/internal/gmock-port.h
../googletest/include/gtest/gtest-death-test.h
../googletest/include/gtest/gtest-message.h
../googletest/include/gtest/gtest-param-test.h
../googletest/include/gtest/gtest-printers.h
../googletest/include/gtest/gtest-test-part.h
../googletest/include/gtest/gtest-typed-test.h
../googletest/include/gtest/gtest.h
../googletest/include/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest-type-util.h
/home/zhang/桌面/googletest-release-1.8.1/googlemock/src/gmock_main.cc

View File

@@ -0,0 +1,44 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-actions.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-cardinalities.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-generated-actions.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-generated-function-mockers.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-generated-matchers.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-generated-nice-strict.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-matchers.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-more-actions.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-more-matchers.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock-spec-builders.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/gmock.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/internal/custom/gmock-generated-actions.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/internal/custom/gmock-matchers.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/internal/custom/gmock-port.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/internal/gmock-generated-internal-utils.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/internal/gmock-internal-utils.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/include/gmock/internal/gmock-port.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest-death-test.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest-message.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest-param-test.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest-printers.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest-test-part.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest-typed-test.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest_pred_impl.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/gtest_prod.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/custom/gtest-port.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/custom/gtest-printers.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-death-test-internal.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-filepath.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-internal.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-linked_ptr.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-param-util-generated.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-param-util.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-port-arch.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-port.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-string.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-tuple.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googletest/include/gtest/internal/gtest-type-util.h
googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o: ../googlemock/src/gmock_main.cc

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# compile CXX with /usr/bin/c++
CXX_FLAGS = -Wall -Wshadow -Werror -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -pthread
CXX_DEFINES =
CXX_INCLUDES = -isystem /home/zhang/桌面/googletest-release-1.8.1/googlemock/include -isystem /home/zhang/桌面/googletest-release-1.8.1/googlemock -isystem /home/zhang/桌面/googletest-release-1.8.1/googletest/include -isystem /home/zhang/桌面/googletest-release-1.8.1/googletest

View File

@@ -0,0 +1,2 @@
/usr/bin/ar qc libgmock_main.a CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
/usr/bin/ranlib libgmock_main.a

View File

@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 3
CMAKE_PROGRESS_2 = 4

View File

@@ -0,0 +1 @@
8

View File

@@ -0,0 +1,7 @@
# CMake generated Testfile for
# Source directory: /home/zhang/桌面/googletest-release-1.8.1/googlemock
# Build directory: /home/zhang/桌面/googletest-release-1.8.1/build/googlemock
#
# This file includes the relevant testing commands required for
# testing this directory and lists subdirectories to be tested as well.
subdirs("gtest")

View File

@@ -0,0 +1,288 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/usr/bin/cmake-gui -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# The main all target
all: cmake_check_build_system
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/CMakeFiles/progress.marks
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
googlemock/CMakeFiles/gmock_main.dir/rule:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/CMakeFiles/gmock_main.dir/rule
.PHONY : googlemock/CMakeFiles/gmock_main.dir/rule
# Convenience name for target.
gmock_main: googlemock/CMakeFiles/gmock_main.dir/rule
.PHONY : gmock_main
# fast build rule for target.
gmock_main/fast:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/build
.PHONY : gmock_main/fast
# Convenience name for target.
googlemock/CMakeFiles/gmock.dir/rule:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/CMakeFiles/gmock.dir/rule
.PHONY : googlemock/CMakeFiles/gmock.dir/rule
# Convenience name for target.
gmock: googlemock/CMakeFiles/gmock.dir/rule
.PHONY : gmock
# fast build rule for target.
gmock/fast:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/build
.PHONY : gmock/fast
src/gmock-all.o: src/gmock-all.cc.o
.PHONY : src/gmock-all.o
# target to build an object file
src/gmock-all.cc.o:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
.PHONY : src/gmock-all.cc.o
src/gmock-all.i: src/gmock-all.cc.i
.PHONY : src/gmock-all.i
# target to preprocess a source file
src/gmock-all.cc.i:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.i
.PHONY : src/gmock-all.cc.i
src/gmock-all.s: src/gmock-all.cc.s
.PHONY : src/gmock-all.s
# target to generate assembly for a file
src/gmock-all.cc.s:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock.dir/build.make googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.s
.PHONY : src/gmock-all.cc.s
src/gmock_main.o: src/gmock_main.cc.o
.PHONY : src/gmock_main.o
# target to build an object file
src/gmock_main.cc.o:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
.PHONY : src/gmock_main.cc.o
src/gmock_main.i: src/gmock_main.cc.i
.PHONY : src/gmock_main.i
# target to preprocess a source file
src/gmock_main.cc.i:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.i
.PHONY : src/gmock_main.cc.i
src/gmock_main.s: src/gmock_main.cc.s
.PHONY : src/gmock_main.s
# target to generate assembly for a file
src/gmock_main.cc.s:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/CMakeFiles/gmock_main.dir/build.make googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.s
.PHONY : src/gmock_main.cc.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... install/strip"
@echo "... install/local"
@echo "... install"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... edit_cache"
@echo "... test"
@echo "... gmock_main"
@echo "... gmock"
@echo "... src/gmock-all.o"
@echo "... src/gmock-all.i"
@echo "... src/gmock-all.s"
@echo "... src/gmock_main.o"
@echo "... src/gmock_main.i"
@echo "... src/gmock_main.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,65 @@
# Install script for directory: /home/zhang/桌面/googletest-release-1.8.1/googlemock
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/home/zhang/桌面/googletest-release-1.8.1/googlemock/include/")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/libgmock.a")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/libgmock_main.a")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/generated/gmock.pc")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/generated/gmock_main.pc")
endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
include("/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/cmake_install.cmake")
endif()

View File

@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/zhang/桌面/googletest-release-1.8.1")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/zhang/桌面/googletest-release-1.8.1/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -0,0 +1,53 @@
#----------------------------------------------------------------
# Generated CMake target import file.
#----------------------------------------------------------------
# Commands may need to know the format version.
set(CMAKE_IMPORT_FILE_VERSION 1)
# Import target "GTest::gtest" for configuration ""
set_property(TARGET GTest::gtest APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
set_target_properties(GTest::gtest PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "CXX"
IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "Threads::Threads"
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libgtest.a"
)
list(APPEND _IMPORT_CHECK_TARGETS GTest::gtest )
list(APPEND _IMPORT_CHECK_FILES_FOR_GTest::gtest "${_IMPORT_PREFIX}/lib/libgtest.a" )
# Import target "GTest::gtest_main" for configuration ""
set_property(TARGET GTest::gtest_main APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
set_target_properties(GTest::gtest_main PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "CXX"
IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "Threads::Threads;GTest::gtest"
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libgtest_main.a"
)
list(APPEND _IMPORT_CHECK_TARGETS GTest::gtest_main )
list(APPEND _IMPORT_CHECK_FILES_FOR_GTest::gtest_main "${_IMPORT_PREFIX}/lib/libgtest_main.a" )
# Import target "GTest::gmock" for configuration ""
set_property(TARGET GTest::gmock APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
set_target_properties(GTest::gmock PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "CXX"
IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "Threads::Threads;GTest::gtest"
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libgmock.a"
)
list(APPEND _IMPORT_CHECK_TARGETS GTest::gmock )
list(APPEND _IMPORT_CHECK_FILES_FOR_GTest::gmock "${_IMPORT_PREFIX}/lib/libgmock.a" )
# Import target "GTest::gmock_main" for configuration ""
set_property(TARGET GTest::gmock_main APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
set_target_properties(GTest::gmock_main PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_NOCONFIG "CXX"
IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "Threads::Threads;GTest::gmock"
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libgmock_main.a"
)
list(APPEND _IMPORT_CHECK_TARGETS GTest::gmock_main )
list(APPEND _IMPORT_CHECK_FILES_FOR_GTest::gmock_main "${_IMPORT_PREFIX}/lib/libgmock_main.a" )
# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)

View File

@@ -0,0 +1,119 @@
# Generated by CMake
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
message(FATAL_ERROR "CMake >= 2.6.0 required")
endif()
cmake_policy(PUSH)
cmake_policy(VERSION 2.6)
#----------------------------------------------------------------
# Generated CMake target import file.
#----------------------------------------------------------------
# Commands may need to know the format version.
set(CMAKE_IMPORT_FILE_VERSION 1)
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
set(_targetsDefined)
set(_targetsNotDefined)
set(_expectedTargets)
foreach(_expectedTarget GTest::gtest GTest::gtest_main GTest::gmock GTest::gmock_main)
list(APPEND _expectedTargets ${_expectedTarget})
if(NOT TARGET ${_expectedTarget})
list(APPEND _targetsNotDefined ${_expectedTarget})
endif()
if(TARGET ${_expectedTarget})
list(APPEND _targetsDefined ${_expectedTarget})
endif()
endforeach()
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
unset(_targetsDefined)
unset(_targetsNotDefined)
unset(_expectedTargets)
set(CMAKE_IMPORT_FILE_VERSION)
cmake_policy(POP)
return()
endif()
if(NOT "${_targetsDefined}" STREQUAL "")
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
endif()
unset(_targetsDefined)
unset(_targetsNotDefined)
unset(_expectedTargets)
# Compute the installation prefix relative to this file.
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
if(_IMPORT_PREFIX STREQUAL "/")
set(_IMPORT_PREFIX "")
endif()
# Create imported target GTest::gtest
add_library(GTest::gtest STATIC IMPORTED)
set_target_properties(GTest::gtest PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
)
# Create imported target GTest::gtest_main
add_library(GTest::gtest_main STATIC IMPORTED)
set_target_properties(GTest::gtest_main PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
)
# Create imported target GTest::gmock
add_library(GTest::gmock STATIC IMPORTED)
set_target_properties(GTest::gmock PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
)
# Create imported target GTest::gmock_main
add_library(GTest::gmock_main STATIC IMPORTED)
set_target_properties(GTest::gmock_main PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
)
# Load information for each installed configuration.
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
file(GLOB CONFIG_FILES "${_DIR}/GTestTargets-*.cmake")
foreach(f ${CONFIG_FILES})
include(${f})
endforeach()
# Cleanup temporary variables.
set(_IMPORT_PREFIX)
# Loop over all imported files and verify that they actually exist
foreach(target ${_IMPORT_CHECK_TARGETS} )
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
if(NOT EXISTS "${file}" )
message(FATAL_ERROR "The imported target \"${target}\" references the file
\"${file}\"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
\"${CMAKE_CURRENT_LIST_FILE}\"
but not all the files it references.
")
endif()
endforeach()
unset(_IMPORT_CHECK_FILES_FOR_${target})
endforeach()
unset(_IMPORT_CHECK_TARGETS)
# This file does not depend on other imported targets which have
# been exported from the same project but in a separate export set.
# Commands beyond this point should not need to know the version.
set(CMAKE_IMPORT_FILE_VERSION)
cmake_policy(POP)

View File

@@ -0,0 +1,594 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
../googletest/include/gtest/gtest-death-test.h
gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest-message.h
limits
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
../googletest/include/gtest/gtest-param-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
utility
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/gtest/internal/gtest-param-util.h
gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest-printers.h
ostream
-
sstream
-
string
-
utility
-
vector
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
tuple
-
absl/strings/string_view.h
../googletest/include/gtest/absl/strings/string_view.h
absl/types/optional.h
../googletest/include/gtest/absl/types/optional.h
absl/types/variant.h
../googletest/include/gtest/absl/types/variant.h
gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest-spi.h
gtest/gtest.h
../googletest/include/gtest/gtest/gtest.h
../googletest/include/gtest/gtest-test-part.h
iosfwd
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
../googletest/include/gtest/gtest-typed-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest.h
limits
-
ostream
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
gtest/gtest-death-test.h
../googletest/include/gtest/gtest/gtest-death-test.h
gtest/gtest-message.h
../googletest/include/gtest/gtest/gtest-message.h
gtest/gtest-param-test.h
../googletest/include/gtest/gtest/gtest-param-test.h
gtest/gtest-printers.h
../googletest/include/gtest/gtest/gtest-printers.h
gtest/gtest_prod.h
../googletest/include/gtest/gtest/gtest_prod.h
gtest/gtest-test-part.h
../googletest/include/gtest/gtest/gtest-test-part.h
gtest/gtest-typed-test.h
../googletest/include/gtest/gtest/gtest-typed-test.h
gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_pred_impl.h
gtest/gtest.h
../googletest/include/gtest/gtest/gtest.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/custom/gtest.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
stdio.h
-
../googletest/include/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
stdlib.h
-
sys/types.h
-
sys/wait.h
-
unistd.h
-
stdexcept
-
ctype.h
-
float.h
-
string.h
-
iomanip
-
limits
-
map
-
set
-
string
-
vector
-
gtest/gtest-message.h
../googletest/include/gtest/internal/gtest/gtest-message.h
gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
stdlib.h
-
assert.h
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-param-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util.h
ctype.h
-
iterator
-
set
-
utility
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest/internal/gtest-linked_ptr.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest-port-arch.h
winapifamily.h
-
../googletest/include/gtest/internal/gtest-port.h
ctype.h
-
stddef.h
-
stdlib.h
-
stdio.h
-
string.h
-
sys/types.h
-
sys/stat.h
-
AvailabilityMacros.h
-
TargetConditionals.h
-
string
-
algorithm
-
iostream
-
sstream
-
utility
-
vector
-
gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest/internal/gtest-port-arch.h
gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/custom/gtest-port.h
direct.h
-
io.h
-
unistd.h
-
strings.h
-
android/api-level.h
-
regex.h
-
typeinfo
-
pthread.h
-
time.h
-
tuple
-
gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest/internal/gtest-tuple.h
tuple
-
tr1/tuple
-
tr1/tuple
-
tuple
-
tr1/tuple
-
../googletest/include/gtest/internal/gtest-string.h
mem.h
-
string.h
-
string
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-tuple.h
utility
-
../googletest/include/gtest/internal/gtest-type-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
cxxabi.h
-
acxx_demangle.h
-
../googletest/src/gtest-death-test.cc
gtest/gtest-death-test.h
../googletest/src/gtest/gtest-death-test.h
gtest/internal/gtest-port.h
../googletest/src/gtest/internal/gtest-port.h
gtest/internal/custom/gtest.h
../googletest/src/gtest/internal/custom/gtest.h
crt_externs.h
-
errno.h
-
fcntl.h
-
limits.h
-
signal.h
-
stdarg.h
-
windows.h
-
sys/mman.h
-
sys/wait.h
-
spawn.h
-
lib/fdio/io.h
-
lib/fdio/spawn.h
-
zircon/processargs.h
-
zircon/syscalls.h
-
zircon/syscalls/port.h
-
gtest/gtest-message.h
../googletest/src/gtest/gtest-message.h
gtest/internal/gtest-string.h
../googletest/src/gtest/internal/gtest-string.h
src/gtest-internal-inl.h
../googletest/src/src/gtest-internal-inl.h
../googletest/src/gtest-filepath.cc
gtest/internal/gtest-filepath.h
../googletest/src/gtest/internal/gtest-filepath.h
stdlib.h
-
gtest/internal/gtest-port.h
../googletest/src/gtest/internal/gtest-port.h
gtest/gtest-message.h
../googletest/src/gtest/gtest-message.h
windows.h
-
direct.h
-
io.h
-
sys/syslimits.h
-
limits.h
-
climits
-
gtest/internal/gtest-string.h
../googletest/src/gtest/internal/gtest-string.h
../googletest/src/gtest-internal-inl.h
errno.h
-
stddef.h
-
stdlib.h
-
string.h
-
algorithm
-
string
-
vector
-
gtest/internal/gtest-port.h
../googletest/src/gtest/internal/gtest-port.h
arpa/inet.h
-
netdb.h
-
windows.h
-
gtest/gtest.h
../googletest/src/gtest/gtest.h
gtest/gtest-spi.h
../googletest/src/gtest/gtest-spi.h
../googletest/src/gtest-port.cc
gtest/internal/gtest-port.h
../googletest/src/gtest/internal/gtest-port.h
limits.h
-
stdlib.h
-
stdio.h
-
string.h
-
fstream
-
windows.h
-
io.h
-
sys/stat.h
-
map
-
unistd.h
-
mach/mach_init.h
-
mach/task.h
-
mach/vm_map.h
-
devctl.h
-
fcntl.h
-
sys/procfs.h
-
procinfo.h
-
sys/types.h
-
zircon/process.h
-
zircon/syscalls.h
-
gtest/gtest-spi.h
../googletest/src/gtest/gtest-spi.h
gtest/gtest-message.h
../googletest/src/gtest/gtest-message.h
gtest/internal/gtest-internal.h
../googletest/src/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/src/gtest/internal/gtest-string.h
src/gtest-internal-inl.h
../googletest/src/src/gtest-internal-inl.h
../googletest/src/gtest-printers.cc
gtest/gtest-printers.h
../googletest/src/gtest/gtest-printers.h
stdio.h
-
cctype
-
cwchar
-
ostream
-
string
-
gtest/internal/gtest-port.h
../googletest/src/gtest/internal/gtest-port.h
src/gtest-internal-inl.h
../googletest/src/src/gtest-internal-inl.h
../googletest/src/gtest-test-part.cc
gtest/gtest-test-part.h
../googletest/src/gtest/gtest-test-part.h
src/gtest-internal-inl.h
../googletest/src/src/gtest-internal-inl.h
../googletest/src/gtest-typed-test.cc
gtest/gtest-typed-test.h
../googletest/src/gtest/gtest-typed-test.h
gtest/gtest.h
../googletest/src/gtest/gtest.h
../googletest/src/gtest.cc
gtest/gtest.h
../googletest/src/gtest/gtest.h
gtest/internal/custom/gtest.h
../googletest/src/gtest/internal/custom/gtest.h
gtest/gtest-spi.h
../googletest/src/gtest/gtest-spi.h
ctype.h
-
math.h
-
stdarg.h
-
stdio.h
-
stdlib.h
-
time.h
-
wchar.h
-
wctype.h
-
algorithm
-
iomanip
-
limits
-
list
-
map
-
ostream
-
sstream
-
vector
-
fcntl.h
-
limits.h
-
sched.h
-
strings.h
-
sys/mman.h
-
sys/time.h
-
unistd.h
-
string
-
sys/time.h
-
sys/time.h
-
strings.h
-
windows.h
-
io.h
-
sys/timeb.h
-
sys/types.h
-
sys/stat.h
-
sys/time.h
-
windows.h
-
sys/time.h
-
unistd.h
-
stdexcept
-
arpa/inet.h
-
netdb.h
-
sys/socket.h
-
sys/types.h
-
src/gtest-internal-inl.h
../googletest/src/src/gtest-internal-inl.h
crt_externs.h
-
absl/debugging/failure_signal_handler.h
../googletest/src/absl/debugging/failure_signal_handler.h
absl/debugging/stacktrace.h
../googletest/src/absl/debugging/stacktrace.h
absl/debugging/symbolize.h
../googletest/src/absl/debugging/symbolize.h
absl/strings/str_cat.h
../googletest/src/absl/strings/str_cat.h
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest-all.cc
gtest/gtest.h
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest/gtest.h
src/gtest.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/src/gtest.cc
src/gtest-death-test.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/src/gtest-death-test.cc
src/gtest-filepath.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/src/gtest-filepath.cc
src/gtest-port.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/src/gtest-port.cc
src/gtest-printers.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/src/gtest-printers.cc
src/gtest-test-part.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/src/gtest-test-part.cc
src/gtest-typed-test.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/src/gtest-typed-test.cc

View File

@@ -0,0 +1,22 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest-all.cc" "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"../googletest/include"
"../googletest"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,99 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
# Include any dependencies generated for this target.
include googlemock/gtest/CMakeFiles/gtest.dir/depend.make
# Include the progress variables for this target.
include googlemock/gtest/CMakeFiles/gtest.dir/progress.make
# Include the compile flags for this target's objects.
include googlemock/gtest/CMakeFiles/gtest.dir/flags.make
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: googlemock/gtest/CMakeFiles/gtest.dir/flags.make
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-all.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest-all.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gtest.dir/src/gtest-all.cc.i"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest-all.cc > CMakeFiles/gtest.dir/src/gtest-all.cc.i
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gtest.dir/src/gtest-all.cc.s"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest-all.cc -o CMakeFiles/gtest.dir/src/gtest-all.cc.s
# Object files for target gtest
gtest_OBJECTS = \
"CMakeFiles/gtest.dir/src/gtest-all.cc.o"
# External object files for target gtest
gtest_EXTERNAL_OBJECTS =
googlemock/gtest/libgtest.a: googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
googlemock/gtest/libgtest.a: googlemock/gtest/CMakeFiles/gtest.dir/build.make
googlemock/gtest/libgtest.a: googlemock/gtest/CMakeFiles/gtest.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgtest.a"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
googlemock/gtest/CMakeFiles/gtest.dir/build: googlemock/gtest/libgtest.a
.PHONY : googlemock/gtest/CMakeFiles/gtest.dir/build
googlemock/gtest/CMakeFiles/gtest.dir/clean:
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest.dir/cmake_clean.cmake
.PHONY : googlemock/gtest/CMakeFiles/gtest.dir/clean
googlemock/gtest/CMakeFiles/gtest.dir/depend:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zhang/桌面/googletest-release-1.8.1 /home/zhang/桌面/googletest-release-1.8.1/googletest /home/zhang/桌面/googletest-release-1.8.1/build /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : googlemock/gtest/CMakeFiles/gtest.dir/depend

View File

@@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/gtest.dir/src/gtest-all.cc.o"
"libgtest.a"
"libgtest.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/gtest.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,3 @@
file(REMOVE_RECURSE
"libgtest.a"
)

View File

@@ -0,0 +1,37 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
../googletest/include/gtest/gtest-death-test.h
../googletest/include/gtest/gtest-message.h
../googletest/include/gtest/gtest-param-test.h
../googletest/include/gtest/gtest-printers.h
../googletest/include/gtest/gtest-spi.h
../googletest/include/gtest/gtest-test-part.h
../googletest/include/gtest/gtest-typed-test.h
../googletest/include/gtest/gtest.h
../googletest/include/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/custom/gtest.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest-type-util.h
../googletest/src/gtest-death-test.cc
../googletest/src/gtest-filepath.cc
../googletest/src/gtest-internal-inl.h
../googletest/src/gtest-port.cc
../googletest/src/gtest-printers.cc
../googletest/src/gtest-test-part.cc
../googletest/src/gtest-typed-test.cc
../googletest/src/gtest.cc
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest-all.cc

View File

@@ -0,0 +1,37 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest-death-test.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest-message.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest-param-test.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest-printers.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest-spi.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest-test-part.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest-typed-test.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest_pred_impl.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/gtest_prod.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/custom/gtest-port.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/custom/gtest-printers.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/custom/gtest.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-death-test-internal.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-filepath.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-internal.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-linked_ptr.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-param-util-generated.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-param-util.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-port-arch.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-port.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-string.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-tuple.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/include/gtest/internal/gtest-type-util.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-death-test.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-filepath.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-internal-inl.h
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-port.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-printers.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-test-part.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-typed-test.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest.cc
googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o: ../googletest/src/gtest-all.cc

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# compile CXX with /usr/bin/c++
CXX_FLAGS = -Wall -Wshadow -Werror -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -pthread
CXX_DEFINES =
CXX_INCLUDES = -I/home/zhang/桌面/googletest-release-1.8.1/googletest/include -I/home/zhang/桌面/googletest-release-1.8.1/googletest

View File

@@ -0,0 +1,2 @@
/usr/bin/ar qc libgtest.a CMakeFiles/gtest.dir/src/gtest-all.cc.o
/usr/bin/ranlib libgtest.a

View File

@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 5
CMAKE_PROGRESS_2 = 6

View File

@@ -0,0 +1,294 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
../googletest/include/gtest/gtest-death-test.h
gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/gtest-message.h
limits
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
../googletest/include/gtest/gtest-param-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
utility
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/gtest/internal/gtest-param-util.h
gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/gtest-printers.h
ostream
-
sstream
-
string
-
utility
-
vector
-
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
tuple
-
absl/strings/string_view.h
../googletest/include/gtest/absl/strings/string_view.h
absl/types/optional.h
../googletest/include/gtest/absl/types/optional.h
absl/types/variant.h
../googletest/include/gtest/absl/types/variant.h
gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/gtest-test-part.h
iosfwd
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
../googletest/include/gtest/gtest-typed-test.h
gtest/internal/gtest-port.h
../googletest/include/gtest/gtest/internal/gtest-port.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest/internal/gtest-type-util.h
../googletest/include/gtest/gtest.h
limits
-
ostream
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/gtest/internal/gtest-internal.h
gtest/internal/gtest-string.h
../googletest/include/gtest/gtest/internal/gtest-string.h
gtest/gtest-death-test.h
../googletest/include/gtest/gtest/gtest-death-test.h
gtest/gtest-message.h
../googletest/include/gtest/gtest/gtest-message.h
gtest/gtest-param-test.h
../googletest/include/gtest/gtest/gtest-param-test.h
gtest/gtest-printers.h
../googletest/include/gtest/gtest/gtest-printers.h
gtest/gtest_prod.h
../googletest/include/gtest/gtest/gtest_prod.h
gtest/gtest-test-part.h
../googletest/include/gtest/gtest/gtest-test-part.h
gtest/gtest-typed-test.h
../googletest/include/gtest/gtest/gtest-typed-test.h
gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_pred_impl.h
gtest/gtest.h
../googletest/include/gtest/gtest/gtest.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
stdio.h
-
../googletest/include/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-internal.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
stdlib.h
-
sys/types.h
-
sys/wait.h
-
unistd.h
-
stdexcept
-
ctype.h
-
float.h
-
string.h
-
iomanip
-
limits
-
map
-
set
-
string
-
vector
-
gtest/gtest-message.h
../googletest/include/gtest/internal/gtest/gtest-message.h
gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest/internal/gtest-filepath.h
gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest/internal/gtest-string.h
gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-type-util.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
stdlib.h
-
assert.h
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest/internal/gtest-param-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-param-util.h
ctype.h
-
iterator
-
set
-
utility
-
vector
-
gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest/internal/gtest-internal.h
gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest/internal/gtest-linked_ptr.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest/gtest-printers.h
../googletest/include/gtest/internal/gtest-port-arch.h
winapifamily.h
-
../googletest/include/gtest/internal/gtest-port.h
ctype.h
-
stddef.h
-
stdlib.h
-
stdio.h
-
string.h
-
sys/types.h
-
sys/stat.h
-
AvailabilityMacros.h
-
TargetConditionals.h
-
string
-
algorithm
-
iostream
-
sstream
-
utility
-
vector
-
gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest/internal/gtest-port-arch.h
gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/custom/gtest-port.h
direct.h
-
io.h
-
unistd.h
-
strings.h
-
android/api-level.h
-
regex.h
-
typeinfo
-
pthread.h
-
time.h
-
tuple
-
gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest/internal/gtest-tuple.h
tuple
-
tr1/tuple
-
tr1/tuple
-
tuple
-
tr1/tuple
-
../googletest/include/gtest/internal/gtest-string.h
mem.h
-
string.h
-
string
-
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-tuple.h
utility
-
../googletest/include/gtest/internal/gtest-type-util.h
gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest/internal/gtest-port.h
cxxabi.h
-
acxx_demangle.h
-
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest_main.cc
stdio.h
-
gtest/gtest.h
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest/gtest.h

View File

@@ -0,0 +1,23 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest_main.cc" "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"../googletest/include"
"../googletest"
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake"
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@@ -0,0 +1,99 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
# Include any dependencies generated for this target.
include googlemock/gtest/CMakeFiles/gtest_main.dir/depend.make
# Include the progress variables for this target.
include googlemock/gtest/CMakeFiles/gtest_main.dir/progress.make
# Include the compile flags for this target's objects.
include googlemock/gtest/CMakeFiles/gtest_main.dir/flags.make
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: googlemock/gtest/CMakeFiles/gtest_main.dir/flags.make
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/src/gtest_main.cc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -c /home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest_main.cc
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gtest_main.dir/src/gtest_main.cc.i"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest_main.cc > CMakeFiles/gtest_main.dir/src/gtest_main.cc.i
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gtest_main.dir/src/gtest_main.cc.s"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest_main.cc -o CMakeFiles/gtest_main.dir/src/gtest_main.cc.s
# Object files for target gtest_main
gtest_main_OBJECTS = \
"CMakeFiles/gtest_main.dir/src/gtest_main.cc.o"
# External object files for target gtest_main
gtest_main_EXTERNAL_OBJECTS =
googlemock/gtest/libgtest_main.a: googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
googlemock/gtest/libgtest_main.a: googlemock/gtest/CMakeFiles/gtest_main.dir/build.make
googlemock/gtest/libgtest_main.a: googlemock/gtest/CMakeFiles/gtest_main.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX static library libgtest_main.a"
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest_main.dir/cmake_clean_target.cmake
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gtest_main.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
googlemock/gtest/CMakeFiles/gtest_main.dir/build: googlemock/gtest/libgtest_main.a
.PHONY : googlemock/gtest/CMakeFiles/gtest_main.dir/build
googlemock/gtest/CMakeFiles/gtest_main.dir/clean:
cd /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest && $(CMAKE_COMMAND) -P CMakeFiles/gtest_main.dir/cmake_clean.cmake
.PHONY : googlemock/gtest/CMakeFiles/gtest_main.dir/clean
googlemock/gtest/CMakeFiles/gtest_main.dir/depend:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zhang/桌面/googletest-release-1.8.1 /home/zhang/桌面/googletest-release-1.8.1/googletest /home/zhang/桌面/googletest-release-1.8.1/build /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/gtest_main.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : googlemock/gtest/CMakeFiles/gtest_main.dir/depend

View File

@@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/gtest_main.dir/src/gtest_main.cc.o"
"libgtest_main.a"
"libgtest_main.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/gtest_main.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@@ -0,0 +1,3 @@
file(REMOVE_RECURSE
"libgtest_main.a"
)

View File

@@ -0,0 +1,27 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
../googletest/include/gtest/gtest-death-test.h
../googletest/include/gtest/gtest-message.h
../googletest/include/gtest/gtest-param-test.h
../googletest/include/gtest/gtest-printers.h
../googletest/include/gtest/gtest-test-part.h
../googletest/include/gtest/gtest-typed-test.h
../googletest/include/gtest/gtest.h
../googletest/include/gtest/gtest_pred_impl.h
../googletest/include/gtest/gtest_prod.h
../googletest/include/gtest/internal/custom/gtest-port.h
../googletest/include/gtest/internal/custom/gtest-printers.h
../googletest/include/gtest/internal/gtest-death-test-internal.h
../googletest/include/gtest/internal/gtest-filepath.h
../googletest/include/gtest/internal/gtest-internal.h
../googletest/include/gtest/internal/gtest-linked_ptr.h
../googletest/include/gtest/internal/gtest-param-util-generated.h
../googletest/include/gtest/internal/gtest-param-util.h
../googletest/include/gtest/internal/gtest-port-arch.h
../googletest/include/gtest/internal/gtest-port.h
../googletest/include/gtest/internal/gtest-string.h
../googletest/include/gtest/internal/gtest-tuple.h
../googletest/include/gtest/internal/gtest-type-util.h
/home/zhang/桌面/googletest-release-1.8.1/googletest/src/gtest_main.cc

View File

@@ -0,0 +1,27 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest-death-test.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest-message.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest-param-test.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest-printers.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest-test-part.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest-typed-test.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest_pred_impl.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/gtest_prod.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/custom/gtest-port.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/custom/gtest-printers.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-death-test-internal.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-filepath.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-internal.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-linked_ptr.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-param-util-generated.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-param-util.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-port-arch.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-port.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-string.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-tuple.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/include/gtest/internal/gtest-type-util.h
googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o: ../googletest/src/gtest_main.cc

View File

@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# compile CXX with /usr/bin/c++
CXX_FLAGS = -Wall -Wshadow -Werror -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -pthread
CXX_DEFINES =
CXX_INCLUDES = -isystem /home/zhang/桌面/googletest-release-1.8.1/googletest/include -isystem /home/zhang/桌面/googletest-release-1.8.1/googletest

View File

@@ -0,0 +1,2 @@
/usr/bin/ar qc libgtest_main.a CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
/usr/bin/ranlib libgtest_main.a

View File

@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 7
CMAKE_PROGRESS_2 = 8

View File

@@ -0,0 +1 @@
4

View File

@@ -0,0 +1,6 @@
# CMake generated Testfile for
# Source directory: /home/zhang/桌面/googletest-release-1.8.1/googletest
# Build directory: /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest
#
# This file includes the relevant testing commands required for
# testing this directory and lists subdirectories to be tested as well.

View File

@@ -0,0 +1,288 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/zhang/桌面/googletest-release-1.8.1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/zhang/桌面/googletest-release-1.8.1/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
/usr/bin/cmake-gui -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# The main all target
all: cmake_check_build_system
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles /home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/progress.marks
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/zhang/桌面/googletest-release-1.8.1/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
googlemock/gtest/CMakeFiles/gtest_main.dir/rule:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/CMakeFiles/gtest_main.dir/rule
.PHONY : googlemock/gtest/CMakeFiles/gtest_main.dir/rule
# Convenience name for target.
gtest_main: googlemock/gtest/CMakeFiles/gtest_main.dir/rule
.PHONY : gtest_main
# fast build rule for target.
gtest_main/fast:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/build
.PHONY : gtest_main/fast
# Convenience name for target.
googlemock/gtest/CMakeFiles/gtest.dir/rule:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f CMakeFiles/Makefile2 googlemock/gtest/CMakeFiles/gtest.dir/rule
.PHONY : googlemock/gtest/CMakeFiles/gtest.dir/rule
# Convenience name for target.
gtest: googlemock/gtest/CMakeFiles/gtest.dir/rule
.PHONY : gtest
# fast build rule for target.
gtest/fast:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/build
.PHONY : gtest/fast
src/gtest-all.o: src/gtest-all.cc.o
.PHONY : src/gtest-all.o
# target to build an object file
src/gtest-all.cc.o:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
.PHONY : src/gtest-all.cc.o
src/gtest-all.i: src/gtest-all.cc.i
.PHONY : src/gtest-all.i
# target to preprocess a source file
src/gtest-all.cc.i:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.i
.PHONY : src/gtest-all.cc.i
src/gtest-all.s: src/gtest-all.cc.s
.PHONY : src/gtest-all.s
# target to generate assembly for a file
src/gtest-all.cc.s:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest.dir/build.make googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.s
.PHONY : src/gtest-all.cc.s
src/gtest_main.o: src/gtest_main.cc.o
.PHONY : src/gtest_main.o
# target to build an object file
src/gtest_main.cc.o:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
.PHONY : src/gtest_main.cc.o
src/gtest_main.i: src/gtest_main.cc.i
.PHONY : src/gtest_main.i
# target to preprocess a source file
src/gtest_main.cc.i:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.i
.PHONY : src/gtest_main.cc.i
src/gtest_main.s: src/gtest_main.cc.s
.PHONY : src/gtest_main.s
# target to generate assembly for a file
src/gtest_main.cc.s:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(MAKE) -f googlemock/gtest/CMakeFiles/gtest_main.dir/build.make googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.s
.PHONY : src/gtest_main.cc.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... install/strip"
@echo "... install/local"
@echo "... install"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... edit_cache"
@echo "... test"
@echo "... gtest_main"
@echo "... gtest"
@echo "... src/gtest-all.o"
@echo "... src/gtest-all.i"
@echo "... src/gtest-all.s"
@echo "... src/gtest_main.o"
@echo "... src/gtest_main.i"
@echo "... src/gtest_main.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/zhang/桌面/googletest-release-1.8.1/build && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1,85 @@
# Install script for directory: /home/zhang/桌面/googletest-release-1.8.1/googletest
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/GTest/GTestTargets.cmake")
file(DIFFERENT EXPORT_FILE_CHANGED FILES
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/GTest/GTestTargets.cmake"
"/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/Export/lib/cmake/GTest/GTestTargets.cmake")
if(EXPORT_FILE_CHANGED)
file(GLOB OLD_CONFIG_FILES "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/GTest/GTestTargets-*.cmake")
if(OLD_CONFIG_FILES)
message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/cmake/GTest/GTestTargets.cmake\" will be replaced. Removing files [${OLD_CONFIG_FILES}].")
file(REMOVE ${OLD_CONFIG_FILES})
endif()
endif()
endif()
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/GTest" TYPE FILE FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/Export/lib/cmake/GTest/GTestTargets.cmake")
if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^()$")
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/GTest" TYPE FILE FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/CMakeFiles/Export/lib/cmake/GTest/GTestTargets-noconfig.cmake")
endif()
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/cmake/GTest" TYPE FILE FILES
"/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/generated/GTestConfigVersion.cmake"
"/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/generated/GTestConfig.cmake"
)
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/home/zhang/桌面/googletest-release-1.8.1/googletest/include/")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/libgtest.a")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/libgtest_main.a")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/generated/gtest.pc")
endif()
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/home/zhang/桌面/googletest-release-1.8.1/build/googlemock/gtest/generated/gtest_main.pc")
endif()

View File

@@ -0,0 +1,33 @@
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
####### Any changes to this file will be overwritten by the next CMake run ####
####### The input file was Config.cmake.in ########
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
macro(set_and_check _var _file)
set(${_var} "${_file}")
if(NOT EXISTS "${_file}")
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
endif()
endmacro()
macro(check_required_components _NAME)
foreach(comp ${${_NAME}_FIND_COMPONENTS})
if(NOT ${_NAME}_${comp}_FOUND)
if(${_NAME}_FIND_REQUIRED_${comp})
set(${_NAME}_FOUND FALSE)
endif()
endif()
endforeach()
endmacro()
####################################################################################
include(CMakeFindDependencyMacro)
if (ON)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_dependency(Threads)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/GTestTargets.cmake")
check_required_components("")

View File

@@ -0,0 +1,37 @@
# This is a basic version file for the Config-mode of find_package().
# It is used by write_basic_package_version_file() as input file for configure_file()
# to create a version-file which can be installed along a config.cmake file.
#
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
# the requested version string are exactly the same and it sets
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
# The variable CVF_VERSION must be set before calling configure_file().
set(PACKAGE_VERSION "1.9.0")
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()
# if the installed project requested no architecture check, don't perform the check
if("FALSE")
return()
endif()
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
return()
endif()
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
math(EXPR installedBits "8 * 8")
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
set(PACKAGE_VERSION_UNSUITABLE TRUE)
endif()

View File

@@ -0,0 +1,9 @@
libdir=/usr/local/lib
includedir=/usr/local/include
Name: gmock
Description: GoogleMock (without main() function)
Version: 1.9.0
URL: https://github.com/google/googletest
Libs: -L${libdir} -lgmock -pthread
Cflags: -I${includedir} -DGTEST_HAS_PTHREAD=1 -pthread

View File

@@ -0,0 +1,9 @@
libdir=/usr/local/lib
includedir=/usr/local/include
Name: gmock_main
Description: GoogleMock (with main() function)
Version: 1.9.0
URL: https://github.com/google/googletest
Libs: -L${libdir} -lgmock_main -pthread
Cflags: -I${includedir} -DGTEST_HAS_PTHREAD=1 -pthread

View File

@@ -0,0 +1,9 @@
libdir=/usr/local/lib
includedir=/usr/local/include
Name: gtest
Description: GoogleTest (without main() function)
Version: 1.9.0
URL: https://github.com/google/googletest
Libs: -L${libdir} -lgtest -pthread
Cflags: -I${includedir} -DGTEST_HAS_PTHREAD=1 -pthread

View File

@@ -0,0 +1,10 @@
libdir=/usr/local/lib
includedir=/usr/local/include
Name: gtest_main
Description: GoogleTest (with main() function)
Version: 1.9.0
URL: https://github.com/google/googletest
Requires: gtest
Libs: -L${libdir} -lgtest_main -pthread
Cflags: -I${includedir} -DGTEST_HAS_PTHREAD=1 -pthread

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,65 @@
/usr/local/include/gmock/gmock-generated-matchers.h.pump
/usr/local/include/gmock/gmock-actions.h
/usr/local/include/gmock/internal/gmock-generated-internal-utils.h.pump
/usr/local/include/gmock/internal/gmock-internal-utils.h
/usr/local/include/gmock/internal/custom/gmock-matchers.h
/usr/local/include/gmock/internal/custom/gmock-generated-actions.h.pump
/usr/local/include/gmock/internal/custom/gmock-generated-actions.h
/usr/local/include/gmock/internal/custom/gmock-port.h
/usr/local/include/gmock/internal/custom/README.md
/usr/local/include/gmock/internal/gmock-generated-internal-utils.h
/usr/local/include/gmock/internal/gmock-port.h
/usr/local/include/gmock/gmock-spec-builders.h
/usr/local/include/gmock/gmock-generated-function-mockers.h.pump
/usr/local/include/gmock/gmock-more-matchers.h
/usr/local/include/gmock/gmock-generated-function-mockers.h
/usr/local/include/gmock/gmock-matchers.h
/usr/local/include/gmock/gmock-generated-nice-strict.h
/usr/local/include/gmock/gmock-generated-actions.h.pump
/usr/local/include/gmock/gmock-generated-actions.h
/usr/local/include/gmock/gmock-more-actions.h
/usr/local/include/gmock/gmock-cardinalities.h
/usr/local/include/gmock/gmock.h
/usr/local/include/gmock/gmock-generated-nice-strict.h.pump
/usr/local/include/gmock/gmock-generated-matchers.h
/usr/local/lib/libgmock.a
/usr/local/lib/libgmock_main.a
/usr/local/lib/pkgconfig/gmock.pc
/usr/local/lib/pkgconfig/gmock_main.pc
/usr/local/lib/cmake/GTest/GTestTargets.cmake
/usr/local/lib/cmake/GTest/GTestTargets-noconfig.cmake
/usr/local/lib/cmake/GTest/GTestConfigVersion.cmake
/usr/local/lib/cmake/GTest/GTestConfig.cmake
/usr/local/include/gtest/gtest-typed-test.h
/usr/local/include/gtest/internal/gtest-tuple.h
/usr/local/include/gtest/internal/gtest-type-util.h.pump
/usr/local/include/gtest/internal/gtest-string.h
/usr/local/include/gtest/internal/gtest-internal.h
/usr/local/include/gtest/internal/gtest-death-test-internal.h
/usr/local/include/gtest/internal/gtest-filepath.h
/usr/local/include/gtest/internal/gtest-type-util.h
/usr/local/include/gtest/internal/gtest-param-util-generated.h
/usr/local/include/gtest/internal/gtest-linked_ptr.h
/usr/local/include/gtest/internal/gtest-param-util.h
/usr/local/include/gtest/internal/gtest-port.h
/usr/local/include/gtest/internal/custom/gtest.h
/usr/local/include/gtest/internal/custom/gtest-port.h
/usr/local/include/gtest/internal/custom/README.md
/usr/local/include/gtest/internal/custom/gtest-printers.h
/usr/local/include/gtest/internal/gtest-port-arch.h
/usr/local/include/gtest/internal/gtest-param-util-generated.h.pump
/usr/local/include/gtest/internal/gtest-tuple.h.pump
/usr/local/include/gtest/gtest-param-test.h.pump
/usr/local/include/gtest/gtest_pred_impl.h
/usr/local/include/gtest/gtest-param-test.h
/usr/local/include/gtest/gtest-message.h
/usr/local/include/gtest/gtest_prod.h
/usr/local/include/gtest/gtest-spi.h
/usr/local/include/gtest/gtest-death-test.h
/usr/local/include/gtest/gtest.h
/usr/local/include/gtest/gtest-printers.h
/usr/local/include/gtest/gtest-test-part.h
/usr/local/lib/libgtest.a
/usr/local/lib/libgtest_main.a
/usr/local/lib/pkgconfig/gtest.pc
/usr/local/lib/pkgconfig/gtest_main.pc

View File

@@ -0,0 +1,44 @@
#!/usr/bin/env bash
# Copyright 2017 Google Inc.
# All Rights Reserved.
#
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -e
. ci/get-nprocessors.sh
# Create the configuration script
autoreconf -i
# Run in a subdirectory to keep the sources clean
mkdir build || true
cd build
../configure
make -j ${NPROCESSORS:-2}

View File

@@ -0,0 +1,36 @@
#!/usr/bin/env bash
# Copyright 2017 Google Inc.
# All Rights Reserved.
#
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -e
bazel build --curses=no //...:all
bazel test --curses=no //...:all
bazel test --curses=no //...:all --define absl=1

41
third-party/googletest/ci/env-linux.sh vendored Normal file
View File

@@ -0,0 +1,41 @@
#!/usr/bin/env bash
# Copyright 2017 Google Inc.
# All Rights Reserved.
#
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# This file should be sourced, and not executed as a standalone script.
#
# TODO() - we can check if this is being sourced using $BASH_VERSION and $BASH_SOURCE[0] != ${0}.
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.9" CC="clang-3.9"; fi
fi

40
third-party/googletest/ci/env-osx.sh vendored Normal file
View File

@@ -0,0 +1,40 @@
#!/usr/bin/env bash
# Copyright 2017 Google Inc.
# All Rights Reserved.
#
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# This file should be sourced, and not executed as a standalone script.
#
# TODO() - we can check if this is being sourced using $BASH_VERSION and $BASH_SOURCE[0] != ${0}.
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.9" CC="clang-3.9"; fi
fi

Some files were not shown because too many files have changed in this diff Show More