This file contains hidden or 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
# Running in the docker image conanio/gcc11-ubuntu16.04:latest | |
# It's important the test step, because is when we actually link the library and see the error. | |
$ ldd --version | |
ldd (Ubuntu GLIBC 2.23-0ubuntu11.3) 2.23 | |
Copyright (C) 2016 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
Written by Roland McGrath and Ulrich Drepper |
This file contains hidden or 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 create all --version=1.17 -pr:h=gcc -pr:b=gcc | |
======== Exporting recipe to the cache ======== | |
libiconv/1.17: Exporting package recipe: C:\Users\uilia\Development\ |
This file contains hidden or 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 create all --version=3.2.0 -o "*/*:shared=False" -s compiler.cppstd=20 -o "botan/*:with_boost=True" | |
======== Exporting recipe to the cache ======== | |
botan/3.2.0: Exporting package recipe: /Users/uilian/Development/conan/conan-center-index/recipes/botan/all/conanfile.py | |
botan/3.2.0: exports: File 'conandata.yml' found. Exporting it... | |
botan/3.2.0: Calling export_sources() | |
botan/3.2.0: Copied 1 '.py' file: conanfile.py | |
botan/3.2.0: Copied 1 '.yml' file: conandata.yml | |
botan/3.2.0: Exported to cache folder: /Users/uilian/.conan2/p/botane9111c7592689/e | |
botan/3.2.0: Exported: botan/3.2.0#5246c5db3fc3353a1dc9058c932e97ed (2024-02-01 10:09:31 UTC) |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |