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
ALL: test | |
lib.o: lib.c | |
gcc -o $@ -c $< -ffast-math | |
lib.a: lib.o | |
gcc -o $@ -r -s $< | |
main.o: main.c | |
gcc -o $@ -c $< |
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
#!/usr/bin/env sh | |
export CONAN_USER_HOME=`pwd` | |
conan config home | |
conan profile new --detect default | |
git clone https://github.com/conan-io/conan-center-index.git | |
# make two variants of Alembic, with a different OpenEXR version (major version change to influence package_id) | |
conan create conan-center-index/recipes/alembic/all 1.8.3@ --build=missing |
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
cmake_minimum_required(VERSION 3.20 FATAL_ERROR) | |
project(configonly) | |
add_executable(configonly main.cpp) |
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
#!/usr/bin/env sh | |
set -x | |
set -e | |
if [ ! -f boost_1_79_0.tar.gz ] | |
then | |
curl -Lo boost_1_79_0.tar.gz https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.gz | |
fi |
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
#!/usr/bin/env bash | |
set -x | |
#set -e | |
conan create -o lib1:foobar=False conanfile_lib1.py lib1/1.0@ | |
conan create -o lib1:foobar=True conanfile_lib1.py lib1/1.0@ | |
conan create -o lib2:logic_for_foobar=False conanfile_lib2.py lib2/2.0@ | |
conan create -o lib2:logic_for_foobar=True conanfile_lib2.py lib2/2.0@ |
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
#!/usr/bin/env python | |
import argparse | |
from getpass import getpass | |
import jenkins | |
import logging | |
import os | |
default_logger = logging.getLogger() | |
default_logger.setLevel(os.environ.get('LOGLEVEL', 'INFO')) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<ui version="4.0"> | |
<class>EmptyDialog</class> | |
<widget class="EmptyDialog" name="EmptyDialog"> | |
<property name="geometry"> | |
<rect> | |
<x>0</x> | |
<y>0</y> | |
<width>400</width> | |
<height>300</height> |
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
[log] | |
run_to_output = True # environment CONAN_LOG_RUN_TO_OUTPUT | |
run_to_file = False # environment CONAN_LOG_RUN_TO_FILE | |
level = critical # environment CONAN_LOGGING_LEVEL | |
# trace_file = # environment CONAN_TRACE_FILE | |
print_run_commands = False # environment CONAN_PRINT_RUN_COMMANDS | |
[general] | |
default_profile = default |
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
[build_requires] | |
libpng/1.6.37@ | |
zlib/1.2.11@ | |
zlib/1.2.8@ |
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
cmake_minimum_required(VERSION 3.0.0) | |
project(PackageFolder) | |
install( | |
FILES ${CMAKE_SOURCE_DIR}/testdata.xml | |
DESTINATION pkgdata | |
) |