catch2/conanfile.py

20 lines
626 B
Python
Raw Normal View History

#!/usr/bin/env python
from conans import ConanFile
class CatchConan(ConanFile):
name = "Catch"
2017-10-12 14:06:41 +02:00
version = "2.0.0-develop.5"
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"
def package(self):
self.copy(pattern="catch.hpp", src="single_include", dst="include")
def package_id(self):
self.info.header_only()