2 Star 16 Fork 9

Asciphx/Crow

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
conanfile.py 864 Bytes
一键复制 编辑 原始数据 按行查看 历史
Asciphx 提交于 2022-06-17 14:17 +08:00 . update
from conans import ConanFile, CMake
class CrowConan(ConanFile):
name = "Crow"
version = "0.1"
url = "https://github.com/ipkn/crow"
license = "MIT; see https://github.com/ipkn/crow/blob/master/LICENSE"
generators = "cmake"
settings = "os", "compiler", "build_type", "arch"
requires = (("Boost/1.60.0@lasote/stable"), ("OpenSSL/1.0.2i@lasote/stable"))
# No exports necessary
def source(self):
# this will create a hello subfolder, take it into account
self.run("git clone https://github.com/ipkn/crow.git")
def build(self):
cmake = CMake(self.settings)
self.run('cmake %s/cc %s' % (self.conanfile_directory, cmake.command_line))
self.run("cmake --build . %s" % cmake.build_config)
self.run("make")
def package(self):
self.copy("*.h", dst="include", src="amalgamate")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ASCIPHX/crow.git
git@gitee.com:ASCIPHX/crow.git
ASCIPHX
crow
Crow
master

搜索帮助