Skip to content

astrohawk/googletest-conan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Conan build script for googletest

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%