代码拉取完成,页面将自动刷新
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()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。