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
cmake_minimum_required(VERSION 3.1) | |
project(TestLink) | |
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | |
conan_basic_setup() | |
link_directories(${CMAKE_SOURCE_DIR}/libs) | |
add_executable(${CMAKE_PROJECT_NAME} src/test.cpp) | |
target_link_libraries(${CMAKE_PROJECT_NAME} ${CONAN_LIBS} GL Xxf86vm Xext X11 Xcursor) | |
set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}") |
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
cmake_minimum_required(VERSION 2.8) | |
project(hello CXX) | |
set(CMAKE_VERBOSE_MAKEFILE ON) | |
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | |
conan_basic_setup() | |
add_executable(${CMAKE_PROJECT_NAME} hello.cpp) | |
target_link_libraries(${CMAKE_PROJECT_NAME} ${CONAN_LIBS}) |
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 07c11b22182c88cc9941f52017203a2c679201b0 Mon Sep 17 00:00:00 2001 | |
From: Uilian Ries <[email protected]> | |
Date: Tue, 11 Jun 2019 11:01:18 -0300 | |
Subject: [PATCH 2/2] patch | |
diff --git a/0001-add-patch.patch b/0001-add-patch.patch | |
new file mode 100644 | |
index 0000000..54180a4 | |
--- /dev/null |
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
boost_system/1.69.0@bincrafters/stable: C:\.conan\2dd5db\1: b2 -j4 -d+1 -a --hash=yes --debug-configuration --layout=system system-build | |
notice: found boost-build.jam at C:/Users/uilian/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/boost-build.jam | |
notice: loading Boost.Build from C:/Users/uilian/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/kernel | |
C:/Users/uilian/.conan/data/boost_build/1.69.0/bincrafters/stable/package/456f15897172eef340fcbac8a70811f2beb26a93/share/boost-build/src/util\os.jam:50: Unescaped special character in argument ([^.]*)$ | |
C:/Users/uilian/.conan/data/boost_build/1.69.0/bincrafters/stable/pa |
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 fedora:30 | |
RUN yum update -y \ | |
&& yum install -y \ | |
gcc.x86_64 \ | |
gcc-c++.x86_64 | |
python3 \ | |
dh-autoreconf \ | |
cmake |
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 os | |
import magic | |
if __name__ == "__main__": | |
files = [] | |
path = "/home/uilian/Development/conan/docs" | |
# r=root, d=directories, f = files | |
for r, d, f in os.walk(path): | |
for file in f: |
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
matrix: | |
fast_finish: true | |
include: | |
- os: linux | |
dist: xenial | |
sudo: false | |
language: python | |
python: '2.7' | |
- os: linux | |
dist: xenial |
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
$ dd if=/dev/urandom of=file.txt bs=1048576 count=3300 | |
3300+0 records in | |
3300+0 records out | |
3460300800 bytes (3,5 GB, 3,2 GiB) copied, 57,9806 s, 59,7 MB/s | |
$ conan create . uilianries/stable | |
Exporting package recipe | |
Linter warnings | |
WARN: Linter. Line 1: Unused CMake imported from conans | |
foo/0.1.0@uilianries/stable exports_sources: Copied 1 '.txt' file: file.txt |
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
cmake_minimum_required(VERSION 3.14) | |
project(project) | |
set(CMAKE_CXX_STANDARD 14) | |
include_directories(Server/include) | |
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) | |
conan_basic_setup() | |
find_package(sqlite3 REQUIRED) | |
add_executable(project main.cpp) |
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 install . --build missing | |
Auto detecting your dev setup to initialize the default profile (/home/conan/.conan/profiles/default) | |
CC and CXX: /usr/bin/gcc, /usr/bin/g++ | |
Found gcc 6.4 | |
gcc>=5, using the major as version | |
************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** | |
Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to | |
'libstdc++' for backwards compatibility. |