1 Star 0 Fork 0

lzy/gsl-lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
conanfile.py 855 Bytes
一键复制 编辑 原始数据 按行查看 历史
Moritz Beutel 提交于 2024-11-01 20:37 . Prepare for v0.42.0 release
from conans import ConanFile, CMake
class GslLiteConan(ConanFile):
version = "0.42.0"
name = "gsl-lite"
description = "A single-file header-only version of ISO C++ Guidelines Support Library (GSL) for C++98, C++11 and later"
license = "MIT License. https://opensource.org/licenses/MIT"
url = "https://github.com/gsl-lite/gsl-lite.git"
exports_sources = "include/gsl/gsl-lite.hpp", "include/gsl-lite/gsl-lite.hpp", "CMakeLists.txt", "cmake/*", "LICENSE"
settings = "compiler", "build_type", "arch"
build_policy = "missing"
author = "Martin Moene"
def build(self):
"""Avoid warning on build step"""
pass
def package(self):
"""Run CMake install"""
cmake = CMake(self)
cmake.configure()
cmake.install()
def package_info(self):
self.info.header_only()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liang-zy/gsl-lite.git
git@gitee.com:liang-zy/gsl-lite.git
liang-zy
gsl-lite
gsl-lite
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385