This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---------------------------------------- | |
# Prepare flags from make generator | |
#---------------------------------------- | |
include conandeps.mk | |
CFLAGS += $(CONAN_CFLAGS) | |
CXXFLAGS += $(CONAN_CXXFLAGS) | |
CPPFLAGS += $(addprefix -I, $(CONAN_INCLUDE_DIRS)) | |
CPPFLAGS += $(addprefix -I, $(CONAN_INCLUDE_DIRS_POCO_POCO_FOUNDATION)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import yaml | |
import argparse | |
import tempfile | |
import asyncio | |
from conan.api.conan_api import ConanAPI | |
from conan.api.output import ConanOutput | |
from conan.cli.command import OnceArgument |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from conans import ConanFile | |
class FoobarConan(ConanFile): | |
def package_info(self): | |
self.cpp_info.filenames["cmake_find_package"] = "FooBar" | |
self.cpp_info.filenames["cmake_find_package_multi"] = "FooBar" | |
self.cpp_info.names["cmake_find_package"] = "Foo" | |
self.cpp_info.names["cmake_find_package_multi"] = "Foo" | |
self.cpp_info.components["Foo"].libs = ["foobar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@2a0a244cef6f:/tmp/bin# gdb ./foobar_cpp_libstdcpp | |
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 | |
Copyright (C) 2016 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc -dM -E -x c++ /dev/null | |
#define __DBL_MIN_EXP__ (-1021) | |
#define __cpp_attributes 200809L | |
#define __UINT_LEAST16_MAX__ 0xffff | |
#define __ATOMIC_ACQUIRE 2 | |
#define __FLT128_MAX_10_EXP__ 4932 | |
#define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F | |
#define __GCC_IEC_559_COMPLEX 2 | |
#define __cpp_aggregate_nsdmi 201304L | |
#define __UINT_LEAST8_TYPE__ unsigned char |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:xenial | |
LABEL maintainer="Conan.io <info@conan.io>" | |
RUN apt-get -qq update \ | |
&& apt-get -qq install -y --no-install-recommends \ | |
sudo \ | |
binutils \ | |
wget \ | |
git \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Conan package create infrastructure | |
# | |
# This file implements an infrastructure that eases development of | |
# package .mk files for Conan packages. It should be used for all | |
# packages that use Conan as their build system. | |
# | |
# See the Buildroot documentation for details on the usage of this | |
# infrastructure | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Buildroot 2020.11.2-dirty Configuration | |
# | |
BR2_HAVE_DOT_CONFIG=y | |
BR2_HOST_GCC_AT_LEAST_4_9=y | |
BR2_HOST_GCC_AT_LEAST_5=y | |
BR2_HOST_GCC_AT_LEAST_6=y | |
BR2_HOST_GCC_AT_LEAST_7=y | |
BR2_HOST_GCC_AT_LEAST_8=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exporting package recipe | |
opencv/3.4.12 exports: File 'conandata.yml' found. Exporting it... | |
opencv/3.4.12 exports: Copied 1 '.yml' file: conandata.yml | |
opencv/3.4.12 exports_sources: Copied 1 '.txt' file: CMakeLists.txt | |
opencv/3.4.12: The stored package has not changed | |
opencv/3.4.12: Exported revision: ac926a800451e0df263603bfc36cacdf | |
Configuration: | |
[settings] | |
arch=x86_64 | |
arch_build=x86_64 |