MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / getCmakeCacheKey

Method getCmakeCacheKey

lib/base-compiler.ts:2459–2474  ·  view source on GitHub ↗
(key: ParsedRequest, files: FiledataPair[])

Source from the content-addressed store, hash-verified

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 {

Callers 1

cmakeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected