Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 914 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 914 Bytes

Google Test Conan Build Script

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.

Usage

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')

    # ...

Options

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