/conan_gmock

Primary LanguageCMakeMIT LicenseMIT

Build Status Build status Conan.io

conan_gmock

Conan.io package for Google test and mocking library

The packages generated with this conanfile can be found in conan.io.

Credits

This project is a modified version of conan-gtest by lasote

Build packages

Download conan client from Conan.io and run:

$ python build.py

Upload packages to server

$ conan upload gmock/1.8.0@meshell/testing --all

Reuse the packages

Basic setup

$ conan install gmock/1.8.0@meshell/testing

Project setup

If you handle multiple dependencies in your project is better to add a conanfile.txt

[requires]
gmock/1.8.0@meshell/testing

[options]
gmock:shared=true # false
gmock:include_pdbs=false # MSVC - include debug symbols
gmock:disable_pthreads=false # set to true for MinGW under Windows

[generators]
txt
cmake

Complete the installation of requirements for your project running:

conan install .

Project setup installs the library (and all his dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.