Man Linux: Main Page and Category List


       gmock-config - 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

       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 <>.

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