mirror of
https://github.com/Minres/conan-recipes.git
synced 2025-07-01 15:33:27 +02:00
update conanfiles and add RocksDB
This commit is contained in:
6
SystemC-CCI/build.py
Normal file → Executable file
6
SystemC-CCI/build.py
Normal file → Executable file
@ -1,11 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
from conan.packager import ConanMultiPackager
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
builder = ConanMultiPackager()
|
||||
builder = ConanMultiPackager(username="minres")
|
||||
types = ['Debug','Release']
|
||||
cxxstds = ['98', '11','14']
|
||||
libstdcxx = ['libstdc++', 'libstdc++11']
|
||||
shared = [True,False]
|
||||
shared = [True, False]
|
||||
for triple in [[i,k,l,s] for i in cxxstds for k in types for l in libstdcxx for s in shared]:
|
||||
if triple[0] != '98' or triple[2] != 'libstdc++11':
|
||||
builder.add(
|
||||
|
@ -22,6 +22,7 @@ class SystemC_CCIConan(ConanFile):
|
||||
cmake.configure(
|
||||
source_folder=self.source_subfolder,
|
||||
args=[
|
||||
'-DCMAKE_CXX_FLAGS:="-D_GLIBCXX_USE_CXX11_ABI=%d"' % (0 if self.settings.compiler.libcxx == 'libstdc++' else 1),
|
||||
'-DBUILD_SHARED_LIBS=ON' if self.options.shared else '-DBUILD_SHARED_LIBS=OFF',
|
||||
'-DCMAKE_INSTALL_LIBDIR=lib',
|
||||
'-DCMAKE_CXX_STANDARD=%s' % self.options.stdcxx,
|
||||
|
Reference in New Issue
Block a user