sealed trait NativeConfig extends AnyRef
An object describing how to configure the Scala Native toolchain.
- Alphabetic
- By Inheritance
- NativeConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
buildTarget: BuildTarget
Build target for current compilation
-
abstract
def
check: Boolean
Shall linker check that NIR is well-formed after every phase?
-
abstract
def
checkFatalWarnings: Boolean
Shall linker NIR check treat warnings as errors?
-
abstract
def
clang: Path
The path to the
clangexecutable. -
abstract
def
clangPP: Path
The path to the
clang++executable. -
abstract
def
compileOptions: Seq[String]
The compilation options passed to LLVM.
-
abstract
def
dump: Boolean
Shall linker dump intermediate NIR after every phase?
-
abstract
def
embedResources: Boolean
Shall the resource files be embedded in the resulting binary file? Allows the use of getClass().getResourceAsStream() on the included files.
Shall the resource files be embedded in the resulting binary file? Allows the use of getClass().getResourceAsStream() on the included files. Will not embed files with certain extensions, including ".c", ".h", ".scala" and ".class".
-
abstract
def
gc: GC
The garbage collector to use.
-
abstract
def
linkStubs: Boolean
Should stubs be linked?
-
abstract
def
linkingOptions: Seq[String]
The options passed to LLVM's linker.
-
abstract
def
linktimeProperties: LinktimeProperites
Map of user defined properties resolved at linktime
-
abstract
def
lto: LTO
The LTO mode to use used during a release build.
-
abstract
def
mode: Mode
Compilation mode.
-
abstract
def
optimize: Boolean
Shall we optimize the resulting NIR code?
-
abstract
def
optimizerConfig: OptimizerConfig
Configuration when doing optimization
-
abstract
def
targetTriple: Option[String]
Optional target triple that defines current OS, ABI and CPU architecture.
-
abstract
def
useIncrementalCompilation: Boolean
Shall we use the incremental compilation?
-
abstract
def
withBuildTarget(target: BuildTarget): NativeConfig
Create a new config with given build target
-
abstract
def
withCheck(value: Boolean): NativeConfig
Create a new config with given check value.
-
abstract
def
withCheckFatalWarnings(value: Boolean): NativeConfig
Create a new config with given checkFatalWarnings value.
-
abstract
def
withClang(value: Path): NativeConfig
Create a new config with given path to clang.
-
abstract
def
withClangPP(value: Path): NativeConfig
Create a new config with given path to clang++.
-
abstract
def
withCompileOptions(value: Seq[String]): NativeConfig
Create a new config with given compilation options.
-
abstract
def
withDump(value: Boolean): NativeConfig
Create a new config with given dump value.
- abstract def withEmbedResources(value: Boolean): NativeConfig
-
abstract
def
withGC(value: GC): NativeConfig
Create a new config with given garbage collector.
-
abstract
def
withIncrementalCompilation(value: Boolean): NativeConfig
Create a new config with given incrementalCompilation value
-
abstract
def
withLTO(value: LTO): NativeConfig
Create a new config with the given lto mode.
-
abstract
def
withLinkStubs(value: Boolean): NativeConfig
Create a new config with given behavior for stubs.
-
abstract
def
withLinkingOptions(value: Seq[String]): NativeConfig
Create a new config with given linking options.
-
abstract
def
withLinktimeProperties(value: LinktimeProperites): NativeConfig
Create a new config with given linktime properites
-
abstract
def
withMode(value: Mode): NativeConfig
Create a new config with given compilation mode.
-
abstract
def
withOptimize(value: Boolean): NativeConfig
Create a new config with given optimize value
-
abstract
def
withOptimizerConfig(value: OptimizerConfig): NativeConfig
Create a optimization configuration
-
abstract
def
withTargetTriple(value: String): NativeConfig
Create a new config given a target triple.
-
abstract
def
withTargetTriple(value: Option[String]): NativeConfig
Create a new config given a target triple.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()