[K/N] add header_cache output type

^KT-65443
This commit is contained in:
Johan Bay
2023-11-16 12:24:41 +01:00
committed by Space Cloud
parent d8ae22e824
commit 84341a9e25
7 changed files with 31 additions and 12 deletions
@@ -38,8 +38,8 @@ enum class CompilerOutputKind {
override fun suffix(target: KonanTarget?) = ".${target!!.family.staticSuffix}"
override fun prefix(target: KonanTarget?) = target!!.family.staticPrefix
},
PRELIMINARY_CACHE {
override fun suffix(target: KonanTarget?) = ""
HEADER_CACHE {
override fun suffix(target: KonanTarget?) = ".header"
};
abstract fun suffix(target: KonanTarget? = null): String