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.Filesobject
Build a shared library.
Parameters: - name – an operation name
- sources – list of source files, can be either list of files or
barabash.core.Filesobject
-
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.Filesobject
-
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.Filesobject - static_libs – list of
BuildStaticLiboperations - shared_libs – list of
BuildSharedLiboperations - 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