Uilian Ries | 6234e3d | 2017-06-23 10:34:56 -0300 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | from conans import ConanFile |
| 3 | |
| 4 | |
| 5 | class CatchConan(ConanFile): |
| 6 | name = "Catch" |
Martin Hořeňovský | ae21020 | 2017-10-31 15:17:21 +0100 | [diff] [blame^] | 7 | version = "2.0.0-develop.6" |
Uilian Ries | 6234e3d | 2017-06-23 10:34:56 -0300 | [diff] [blame] | 8 | 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 Nash | 0270afb | 2017-06-28 16:44:46 +0100 | [diff] [blame] | 13 | license = "Boost Software License - Version 1.0. http://www.boost.org/LICENSE_1_0.txt" |
Uilian Ries | 6234e3d | 2017-06-23 10:34:56 -0300 | [diff] [blame] | 14 | |
Uilian Ries | 6234e3d | 2017-06-23 10:34:56 -0300 | [diff] [blame] | 15 | def package(self): |
| 16 | self.copy(pattern="catch.hpp", src="single_include", dst="include") |
Martin Hořeňovský | ae21020 | 2017-10-31 15:17:21 +0100 | [diff] [blame^] | 17 | |
solvingj | eea9e1e | 2017-08-26 13:53:03 -0400 | [diff] [blame] | 18 | def package_id(self): |
| 19 | self.info.header_only() |