init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
27
cmake/external/glib/cppgir/expected-lite/conanfile.py
vendored
Normal file
27
cmake/external/glib/cppgir/expected-lite/conanfile.py
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
from conans import ConanFile, CMake
|
||||
|
||||
class ExpectedLiteConan(ConanFile):
|
||||
version = "0.6.2"
|
||||
name = "expected-lite"
|
||||
description = "Expected objects for C++11 and later"
|
||||
license = "Boost Software License - Version 1.0. http://www.boost.org/LICENSE_1_0.txt"
|
||||
url = "https://github.com/martinmoene/expected-lite.git"
|
||||
exports_sources = "include/nonstd/*", "CMakeLists.txt", "cmake/*", "LICENSE.txt"
|
||||
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.definitions["EXPECTED_LITE_OPT_BUILD_TESTS"] = "OFF"
|
||||
cmake.definitions["EXPECTED_LITE_OPT_BUILD_EXAMPLES"] = "OFF"
|
||||
cmake.configure()
|
||||
cmake.install()
|
||||
|
||||
def package_info(self):
|
||||
self.info.header_only()
|
||||
Reference in New Issue
Block a user