Create static library. Parameters ---------- output : str The target shared library. inputs : List[str] List of inputs files. Each input file can be a tarball of objects or an object file. ar : Optional[str] Path to the ar command to be used
(output, inputs, ar=None)
| 124 | |
| 125 | |
| 126 | def create_staticlib(output, inputs, ar=None): |
| 127 | """Create static library. |
| 128 | |
| 129 | Parameters |
| 130 | ---------- |
| 131 | output : str |
| 132 | The target shared library. |
| 133 | |
| 134 | inputs : List[str] |
| 135 | List of inputs files. Each input file can be a tarball |
| 136 | of objects or an object file. |
| 137 | |
| 138 | ar : Optional[str] |
| 139 | Path to the ar command to be used |
| 140 | """ |
| 141 | |
| 142 | if _is_linux_like(): |
| 143 | return _linux_ar(output, inputs, ar) |
| 144 | else: |
| 145 | raise ValueError("Unsupported platform") |
| 146 | |
| 147 | |
| 148 | def create_executable(output, objects, options=None, cc=None, cwd=None, ccache_env=None): |
nothing calls this directly
no test coverage detected
searching dependent graphs…