Skip to content

Instantly share code, notes, and snippets.

View uilianries's full-sized avatar

Uilian Ries uilianries

View GitHub Profile
$ conan create . -o libunwind:shared=True
foo/0.1: Copying sources to build folder
foo/0.1: Building your package in /home/conan/.conan/data/foo/0.1/_/_/build/8fb161a2601aef34fcdfb3babeed4056fa08a623
foo/0.1: Generator cmake_find_package_multi created ZLIBConfigVersion.cmake
foo/0.1: Generator cmake_find_package_multi created ZLIBConfig.cmake
foo/0.1: Generator cmake_find_package_multi created ZLIBTargets.cmake
foo/0.1: Generator cmake_find_package_multi created ZLIBTarget-release.cmake
foo/0.1: Generator cmake_find_package_multi created spdlog-config-version.cmake
foo/0.1: Generator cmake_find_package_multi created spdlogTarget-release.cmake
foo/0.1: Generator cmake_find_package_multi created spdlogTargets.cmake
@uilianries
uilianries / Dockerfile
Last active March 3, 2025 16:53
Ubuntu 16.04 GCC 10 - Stats
FROM ubuntu:xenial
LABEL maintainer="Conan.io <[email protected]>"
RUN apt-get -qq update \
&& apt-get -qq install -y --no-install-recommends \
sudo \
binutils \
wget \
git \
@uilianries
uilianries / pkg-conan.mk
Created February 17, 2021 01:01
Buildroot Conan Integration
################################################################################
# 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
#
@uilianries
uilianries / .config
Created February 3, 2021 14:36
Buildroot config file for OrangePi Zero
#
# 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
@uilianries
uilianries / build.log
Created January 4, 2021 15:04
OpenCV 3.4 Linux x64 Static Library
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
@uilianries
uilianries / CMakeLists.txt
Created December 30, 2020 14:25
Conan cppstd 20 - Running conan new -s foo/0.1.0 command
cmake_minimum_required(VERSION 3.1)
project(foo CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_VERBOSE_MAKEFILE TRUE)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
add_library(foo foo.cpp)
@uilianries
uilianries / cmake_install.cmake
Created December 17, 2020 14:55
Conan PR 8216
# Install script for directory: C:/Users/uilia/AppData/Local/Temp/tmpx6uwdbu9conans/path with spaces
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "C:/Users/uilia/AppData/Local/Temp/tmpx6uwdbu9conans/path with spaces/build/package")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
@uilianries
uilianries / build.log
Last active December 4, 2020 17:08
Conan - Qt build
This file has been truncated, but you can view the full file.
$ conan create . 5.15.2@ -s compiler.version=15 -s build_type=Debug -s compiler.runtime=MDd -o qt:shared=True -ks
[HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
[HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
[HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
[HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
[HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
[HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 49.9423828125 KB
[HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
[HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: ['qtmodules.conf', 'patches/*.diff']
[HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
@uilianries
uilianries / CMake + Ninja build Log
Last active November 18, 2020 14:05
Conan 1.32.0-dev: PR 8034
(venv) λ conan install . foobar/0.1.0@uilianries/testing
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=16
os=Windows
@uilianries
uilianries / OpenCVConfig-version.cmake
Created November 6, 2020 22:42
OpenCV 3.4 - Linux CMake Files
set(OpenCV_VERSION 3.4.12)
set(PACKAGE_VERSION ${OpenCV_VERSION})
set(PACKAGE_VERSION_EXACT False)
set(PACKAGE_VERSION_COMPATIBLE False)
if(PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
set(PACKAGE_VERSION_EXACT True)
set(PACKAGE_VERSION_COMPATIBLE True)
endif()