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

using conan package tools to build different configurations

parent 03dda6ed
import os from cpt.packager import ConanMultiPackager
import sys
def system(command):
retcode = os.system(command)
if retcode != 0:
raise Exception("Error while executing:\n\t %s" % command)
if __name__ == "__main__": if __name__ == "__main__":
params = " ".join(sys.argv[1:]) builder = ConanMultiPackager(
system('conan create . tuebel/testing -s build_type=Debug {}'.format( username='tuebel', channel="testing", stable_channel="testing",
params)) gcc_versions=['7'], archs=['x86_64'])
system('conan create . tuebel/testing -s build_type=Release {}'.format( builder.add_common_builds()
params)) builder.run()
system(('conan create . tuebel/testing -s build_type=Debug' \ No newline at end of file
' -o *:shared=True {}').format(params))
system(('conan create . tuebel/testing -s build_type=Release'
' -o *:shared=True {}').format(params))
else:
pass
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