2018-02-22 21:36:58 +01:00
|
|
|
from conan.packager import ConanMultiPackager
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
builder = ConanMultiPackager()
|
|
|
|
archs = ['x86', 'x86_64']
|
|
|
|
types = ['Debug','Release']
|
|
|
|
cxxstds = ['98','11','14']
|
2018-03-27 22:00:36 +02:00
|
|
|
libstdcxx = ['libstdc++', 'libstdc++11']
|
|
|
|
#-s compiler.libcxx=libstdc++
|
|
|
|
configs = [[i,k,l] for i in cxxstds for k in types for l in libstdcxx]
|
2018-02-22 21:36:58 +01:00
|
|
|
for triple in configs:
|
2018-03-27 22:00:36 +02:00
|
|
|
builder.add(settings={"build_type":triple[1], "compiler.libcxx":triple[2]}, options={"stdcxx" : triple[0]}, env_vars={}, build_requires={})
|
2018-02-22 21:36:58 +01:00
|
|
|
builder.run()
|