This repository holds the conan build script for the Google Test framework.
Currently the script is configured to publish version 1.7.0
of Google Test.
Declare the dependency.
If you are using conanfile.txt
:
[requires]
googletest/1.7.0@azriel91/stable-3
If you are using conanfile.py
:
from conans import *
class MyProjectConan(ConanFile):
# Either:
requires = 'googletest/1.7.0@azriel91/stable-3'
# Or:
def requirements(self):
self.requires('googletest/1.7.0@azriel91/stable-3')
# ...
A full list of options and defaults can be found in conanfile.py
# Example
conan install --build=missing \
-o googletest:GTEST_USE_OWN_TR1_TUPLE=1 \
-o googletest:GTEST_HAS_TR1_TUPLE=0