2021-02-12 12:34:28 +01:00
|
|
|
from conans import ConanFile, CMake, tools
|
|
|
|
|
|
|
|
|
2021-02-12 14:15:23 +01:00
|
|
|
class SerializeConan(ConanFile):
|
2021-02-12 12:34:28 +01:00
|
|
|
name = "serialize"
|
2021-02-19 11:09:34 +01:00
|
|
|
version = "0.2"
|
2021-02-12 12:34:28 +01:00
|
|
|
license = "MIT"
|
|
|
|
author = "Edgar Edgar@AnotherFoxGuy.com"
|
|
|
|
url = "https://github.com/Chatterino/chatterino2"
|
|
|
|
description = "c++ serialize/deserialize helper functions based on rapidjson"
|
|
|
|
settings = "os", "compiler", "build_type", "arch"
|
|
|
|
generators = "cmake"
|
|
|
|
no_copy_source = True
|
|
|
|
|
|
|
|
def source(self):
|
|
|
|
git = tools.Git()
|
|
|
|
git.clone("https://github.com/pajlada/serialize.git")
|
2021-02-19 11:09:34 +01:00
|
|
|
git.checkout("7d37cbfd5ac3bfbe046118e1cec3d32ba4696469")
|
2021-02-12 12:34:28 +01:00
|
|
|
|
|
|
|
def package(self):
|
2021-02-12 14:15:23 +01:00
|
|
|
self.copy("*.hpp", "include", "include")
|
2021-02-12 12:34:28 +01:00
|
|
|
|
|
|
|
def package_id(self):
|
|
|
|
self.info.header_only()
|