Commit f70e45fc authored by Tim Übelhör's avatar Tim Übelhör

using conan package tools to build different configurations

parent 03dda6ed
import os
import sys
def system(command):
retcode = os.system(command)
if retcode != 0:
raise Exception("Error while executing:\n\t %s" % command)
from cpt.packager import ConanMultiPackager
if __name__ == "__main__":
params = " ".join(sys.argv[1:])
system('conan create . tuebel/testing -s build_type=Debug {}'.format(
system('conan create . tuebel/testing -s build_type=Release {}'.format(
system(('conan create . tuebel/testing -s build_type=Debug'
' -o *:shared=True {}').format(params))
system(('conan create . tuebel/testing -s build_type=Release'
' -o *:shared=True {}').format(params))
builder = ConanMultiPackager(
username='tuebel', channel="testing", stable_channel="testing",
gcc_versions=['7'], archs=['x86_64'])
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment