(libraries: SelectedLibraryVersion[])
| 159 | } |
| 160 | |
| 161 | override getIncludeArguments(libraries: SelectedLibraryVersion[]) { |
| 162 | const includeFlag = '--extern'; |
| 163 | return libraries.flatMap(selectedLib => { |
| 164 | const foundVersion = this.findLibVersion(selectedLib); |
| 165 | if (!foundVersion?.name) return []; |
| 166 | const lowercaseLibName = foundVersion.name.replaceAll('-', '_'); |
| 167 | return foundVersion.path.flatMap(rlib => { |
| 168 | return [ |
| 169 | includeFlag, |
| 170 | `${lowercaseLibName}=${foundVersion.name}/build/debug/${rlib}`, |
| 171 | '-L', |
| 172 | `dependency=${foundVersion.name}/build/debug/deps`, |
| 173 | ]; |
| 174 | }); |
| 175 | }); |
| 176 | } |
| 177 | |
| 178 | override orderArguments( |
| 179 | options: string[], |
nothing calls this directly
no test coverage detected