| 2457 | } |
| 2458 | |
| 2459 | getCmakeCacheKey(key: ParsedRequest, files: FiledataPair[]): CmakeCacheKey { |
| 2460 | const cacheKey: CmakeCacheKey = { |
| 2461 | source: key.source, |
| 2462 | options: key.options, |
| 2463 | backendOptions: key.backendOptions, |
| 2464 | filters: key.filters, |
| 2465 | libraries: key.libraries, |
| 2466 | |
| 2467 | compiler: this.compiler, |
| 2468 | files: files, |
| 2469 | api: 'cmake', |
| 2470 | }; |
| 2471 | |
| 2472 | if (cacheKey.filters) delete cacheKey.filters.execute; |
| 2473 | return cacheKey; |
| 2474 | } |
| 2475 | |
| 2476 | getCompilationInfo(key: CacheKey, result: CompilationResult, customBuildPath?: string): CompilationInfo { |
| 2477 | return { |