mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-12-05 09:22:01 +08:00
Compare commits
2 Commits
b7cb05a3f7
...
627e55a2af
Author | SHA1 | Date | |
---|---|---|---|
|
627e55a2af | ||
|
9bb107d7f4 |
30
conanfile.py
Normal file
30
conanfile.py
Normal file
@ -0,0 +1,30 @@
|
||||
import os
|
||||
|
||||
from conans import ConanFile
|
||||
|
||||
|
||||
class QtPromiseConfig(ConanFile):
|
||||
name = "QtPromise"
|
||||
version = "master"
|
||||
license = "QtPromise is available under the MIT license."
|
||||
author = "simonbrunel"
|
||||
url = "https://github.com/simonbrunel/qtpromise"
|
||||
description = "Promises/A+ implementation for Qt/C++"
|
||||
settings = "os", "compiler", "build_type", "arch"
|
||||
|
||||
def package_id(self):
|
||||
self.info.header_only()
|
||||
|
||||
def source(self):
|
||||
self.run("git clone git@github.com:simonbrunel/qtpromise.git")
|
||||
|
||||
def package(self):
|
||||
self.copy("*", dst="include", src="./qtpromise/include")
|
||||
self.copy("*", dst="src", src="./qtpromise/src")
|
||||
|
||||
def package_info(self):
|
||||
self.cpp_info.libs = self.collect_libs()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
os.system("conan create .")
|
Loading…
Reference in New Issue
Block a user