[K/N] Do not make compdb depend on runtime building
Merge-request: KT-MR-6907 Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
This commit is contained in:
committed by
Space
parent
5f913b5595
commit
94b550b9dc
+2
-1
@@ -113,7 +113,8 @@ open class CompileToBitcodeExtension @Inject constructor(val project: Project) {
|
||||
directory.set(compileTask.compilerWorkingDirectory)
|
||||
files.setFrom(compileTask.inputFiles)
|
||||
arguments.set(args)
|
||||
output.set(compileTask.outputFile.asFile.map { it.absolutePath })
|
||||
// Only the location of output file matters, compdb does not depend on the compilation result.
|
||||
output.set(compileTask.outputFile.locationOnly.map { it.asFile.absolutePath })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user