Library of Operations (barabash.ops)¶
Library of Barabash operations
- class barabash.ops.Compile(name, sources)[source]¶
Compile input files.
Parameters: - name – an operation name
- sources – list of source files, can be either list of files or barabash.core.Files object
Build a shared library.
Parameters: - name – an operation name
- sources – list of source files, can be either list of files or barabash.core.Files object
- class barabash.ops.BuildStaticLib(name, sources)[source]¶
Build a static library.
Parameters: - name – an operation name
- sources – list of source files, can be either list of files or barabash.core.Files object
- class barabash.ops.BuildProgram(name, sources, static_libs=[], shared_libs=[], external_libs=[], compile_flags=[], link_flags=[])[source]¶
Build a program.
Parameters: - name – an operation name
- sources – list of source files, can be either list of files or barabash.core.Files object
- static_libs – list of BuildStaticLib operations
- shared_libs – list of BuildSharedLib operations
- external_libs – list of external libraries (e.g. [“m”, “GL”] for libm.so and libGL.so)
- compile_flags – TBD, not used yet
- link_flags – TBD, not used yet
blog comments powered by Disqus