mirror-chatterino2/conan-pkgs/Signals/conanfile.py

24 lines
667 B
Python
Raw Normal View History

2021-02-12 12:37:44 +01:00
from conans import ConanFile, CMake, tools
2021-02-12 14:15:23 +01:00
class SignalsConan(ConanFile):
2021-02-12 12:37:44 +01:00
name = "signals"
version = "0.1"
license = "MIT"
author = "Edgar Edgar@AnotherFoxGuy.com"
url = "https://github.com/Chatterino/chatterino2"
description = "simple C++ signal library"
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
def source(self):
git = tools.Git()
git.clone("https://github.com/pajlada/signals.git")
git.checkout("baf5bb04bd13b090e405e0447c89a811f7e23ddc")
def package(self):
2021-02-12 14:15:23 +01:00
self.copy("*.hpp", "include", "include")
2021-02-12 12:37:44 +01:00
def package_id(self):
self.info.header_only()