blob: a3949588548875d8e3c6a813d1f48876c9f91976 [file] [log] [blame]
Uilian Ries6234e3d2017-06-23 10:34:56 -03001#!/usr/bin/env python
2from conans import ConanFile
3
4
5class CatchConan(ConanFile):
6 name = "Catch"
Martin Hořeňovskýd2d84552018-04-06 12:11:22 +02007 version = "2.2.2"
Uilian Ries6234e3d2017-06-23 10:34:56 -03008 description = "A modern, C++-native, header-only, framework for unit-tests, TDD and BDD"
9 author = "philsquared"
10 generators = "cmake"
11 exports_sources = "single_include/*"
12 url = "https://github.com/philsquared/Catch"
Phil Nash0270afb2017-06-28 16:44:46 +010013 license = "Boost Software License - Version 1.0. http://www.boost.org/LICENSE_1_0.txt"
Uilian Ries6234e3d2017-06-23 10:34:56 -030014
Uilian Ries6234e3d2017-06-23 10:34:56 -030015 def package(self):
16 self.copy(pattern="catch.hpp", src="single_include", dst="include")
Martin Hořeňovskýae210202017-10-31 15:17:21 +010017
solvingjeea9e1e2017-08-26 13:53:03 -040018 def package_id(self):
19 self.info.header_only()