This is a fork of the gmock project with modest edits for bundling in an existing CMake project.
I wanted to be able to bundle gmock
like so:
-
Clone it as a subdirectory.
-
In CMakeLists.txt, add the subdirectory. Then, I should be able to:
include_directories(${gmock_INCLUDE_DIRS}) ... target_link_libraries(my_app gmock)
-
Use
gmock
at your will. See the project site for detailed documentation.