mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
🎉 Added serialize conan pkg
This commit is contained in:
parent
2c8e0d1ec0
commit
20d3ae57cc
24
conan-pkgs/Serialize/conanfile.py
Normal file
24
conan-pkgs/Serialize/conanfile.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
from conans import ConanFile, CMake, tools
|
||||
|
||||
|
||||
class LibCommuniConan(ConanFile):
|
||||
name = "serialize"
|
||||
version = "0.1"
|
||||
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")
|
||||
git.checkout("130ffc3ec722284ca454a1e70c5478a75f380144")
|
||||
|
||||
def package(self):
|
||||
self.copy("include/*.hpp")
|
||||
|
||||
def package_id(self):
|
||||
self.info.header_only()
|
Loading…
Reference in a new issue