| 315 | char* targetOS; |
| 316 | char* toolOutputDir; |
| 317 | char* intermediateDir; |
| 318 | char* toolCpp; |
| 319 | char* scCpp; |
| 320 | char* toolsCpp; |
| 321 | char* toolH; |
| 322 | char* toolExe; |
| 323 | char* toolsDepFile; |
| 324 | char* toolDepFile; |
| 325 | } CompilationInfo; |
| 326 | |
| 327 | CompilationInfo CompilationInfo_init(BootloaderArgs* args); |
| 328 | void CompilationInfo_destroy(CompilationInfo* ci); |
| 329 | |
| 330 | // CommandLine |
| 331 | typedef struct { |
| 332 | StringVector args; |
| 333 | } CommandLine; |
| 334 | |
| 335 | void CommandLine_init(CommandLine* cl, const char* program); |
| 336 | void CommandLine_arg(CommandLine* cl, const char* argument); |
| 337 | void CommandLine_argQuoted(CommandLine* cl, const char* argument); |
| 338 | int CommandLine_run(CommandLine* cl); |
| 339 | void CommandLine_destroy(CommandLine* cl); |
| 340 | |
| 341 | // Command execution |
| 342 | int runCommand(const char* command); |
no test coverage detected