Fork of the gmock testing/mocking library
C++ Shell Python Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build-aux
build
fused-src
gtest
include/gmock
make
msvc
scripts
src
test
CHANGES
CMakeLists.txt
CONTRIBUTORS
LICENSE
Makefile.am
Makefile.in
README
README.md
aclocal.m4
configure
configure.ac

README.md

This is a fork of the gmock project with modest edits for bundling in an existing CMake project.

Usage

I wanted to be able to bundle gmock like so:

  1. Clone it as a subdirectory.

  2. In CMakeLists.txt, add the subdirectory. Then, I should be able to:

     include_directories(${gmock_INCLUDE_DIRS})
     ...
     target_link_libraries(my_app gmock)
    
  3. Use gmock at your will. See the project site for detailed documentation.

License

BSD 3-Clause License.