generallib/conanfile.py

17 lines
536 B
Python

from conans import ConanFile, CMake, tools
class GenerallibConan(ConanFile):
name = "generallib"
version = "1.0"
license = "GPL"
author = "caiyuzheng"
url = "https://gitee.com/290198252/generallib"
description = "a simple cpp basic library"
exports_sources = "general*", "test*"
def package(self):
self.copy(pattern ="*.h", dst="include", src="general",keep_path=True)
self.copy(pattern ="*.hpp", dst="include", src="general",keep_path=True)
def build(self):
print("hellp")