2017-06-23 15:34:56 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
from conans import ConanFile
|
|
|
|
|
|
|
|
|
|
|
|
class CatchConan(ConanFile):
|
|
|
|
name = "Catch"
|
2018-01-10 13:53:04 +01:00
|
|
|
version = "2.1.0"
|
2017-06-23 15:34:56 +02:00
|
|
|
description = "A modern, C++-native, header-only, framework for unit-tests, TDD and BDD"
|
|
|
|
author = "philsquared"
|
|
|
|
generators = "cmake"
|
|
|
|
exports_sources = "single_include/*"
|
|
|
|
url = "https://github.com/philsquared/Catch"
|
2017-06-28 17:44:46 +02:00
|
|
|
license = "Boost Software License - Version 1.0. http://www.boost.org/LICENSE_1_0.txt"
|
2017-06-23 15:34:56 +02:00
|
|
|
|
|
|
|
def package(self):
|
|
|
|
self.copy(pattern="catch.hpp", src="single_include", dst="include")
|
2017-10-31 15:17:21 +01:00
|
|
|
|
2017-08-26 19:53:03 +02:00
|
|
|
def package_id(self):
|
|
|
|
self.info.header_only()
|