gmock-config(1) setup compilation and linking for gmock


gmock-config [options]


This manual page documents briefly the gmock-config command.

The gmock-config script provides access to the necessary compile and linking flags to connect with Google C++ Testing Framework, both in a build prior to installation, and on the system proper after installation.

The installation overrides may be issued in combination with any other queries, but will only affect installation queries if called on a built but not installed gtest.

The installation queries may not be issued with any other types of queries, and only one installation query may be made at a time.

The version queries and compiler flag queries may be combined as desired but not mixed. Different version queries are always combined with logical "and" semantics, and only the last of any particular query is used while all previous ones ignored.

All versions must be specified as a sequence of numbers separated by periods. Compiler flag queries output the union of the sets of flags when combined.


These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files.
-h, --help
Show summary of options.
-v, --version
Show version of program.
The program is documented fully by


gmock-config was written by Zhanyong Wan <[email protected]>.

This manual page was written by Fredrik Hallenberg <[email protected]>, for the Debian project (and may be used by others).