blob: 212da6a98e39644775c69e1bb7288a66446e21e9 [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ý0a34cc22018-03-11 12:04:28 +01007 version = "2.2.1"
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()