7
0
mirror of https://github.com/Minres/conan-recipes.git synced 2025-07-01 23:43:25 +02:00

Updated README.md

This commit is contained in:
2017-10-28 17:26:01 +02:00
parent efc00d983f
commit bfd0359354
3 changed files with 67 additions and 2 deletions

10
Seasocks/build.py Normal file
View File

@ -0,0 +1,10 @@
from conan.packager import ConanMultiPackager
if __name__ == "__main__":
builder = ConanMultiPackager()
libstd = ['libstdc++11', 'libstdc++']
types = ['Debug','Release']
configs = [[i,k] for i in libstd for k in types]
for triple in configs:
builder.add(settings={"build_type":triple[1], "compiler.libcxx":triple[0]}, options={}, env_vars={}, build_requires={})
builder.run()

View File

@ -25,7 +25,7 @@ include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()''')
def build(self):
cmake = CMake(self)
cmake = CMake(self, parallel=True)
self.run('cmake seasocks %s' % cmake.command_line)
self.run("cmake --build . --target install %s" % cmake.build_config)