Trait/Object

scala.scalanative.build

NativeConfig

Related Docs: object NativeConfig | package build

Permalink

sealed trait NativeConfig extends AnyRef

An object describing how to configure the Scala Native toolchain.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NativeConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def check: Boolean

    Permalink

    Shall linker check that NIR is well-formed after every phase?

  2. abstract def checkFatalWarnings: Boolean

    Permalink

    Shall linker NIR check treat warnings as errors?

  3. abstract def clang: Path

    Permalink

    The path to the clang executable.

  4. abstract def clangPP: Path

    Permalink

    The path to the clang++ executable.

  5. abstract def compileOptions: Seq[String]

    Permalink

    The compilation options passed to LLVM.

  6. abstract def dump: Boolean

    Permalink

    Shall linker dump intermediate NIR after every phase?

  7. abstract def embedResources: Boolean

    Permalink

    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".

  8. abstract def gc: GC

    Permalink

    The garbage collector to use.

  9. abstract def linkStubs: Boolean

    Permalink

    Should stubs be linked?

  10. abstract def linkingOptions: Seq[String]

    Permalink

    The options passed to LLVM's linker.

  11. abstract def linktimeProperties: LinktimeProperites

    Permalink

    Map of user defined properties resolved at linktime

  12. abstract def lto: LTO

    Permalink

    The LTO mode to use used during a release build.

  13. abstract def mode: Mode

    Permalink

    Compilation mode.

  14. abstract def optimize: Boolean

    Permalink

    Shall we optimize the resulting NIR code?

  15. abstract def targetTriple: Option[String]

    Permalink

    Optional target triple that defines current OS, ABI and CPU architecture.

  16. abstract def withCheck(value: Boolean): NativeConfig

    Permalink

    Create a new config with given check value.

  17. abstract def withCheckFatalWarnings(value: Boolean): NativeConfig

    Permalink

    Create a new config with given checkFatalWarnings value.

  18. abstract def withClang(value: Path): NativeConfig

    Permalink

    Create a new config with given path to clang.

  19. abstract def withClangPP(value: Path): NativeConfig

    Permalink

    Create a new config with given path to clang++.

  20. abstract def withCompileOptions(value: Seq[String]): NativeConfig

    Permalink

    Create a new config with given compilation options.

  21. abstract def withDump(value: Boolean): NativeConfig

    Permalink

    Create a new config with given dump value.

  22. abstract def withEmbedResources(value: Boolean): NativeConfig

    Permalink
  23. abstract def withGC(value: GC): NativeConfig

    Permalink

    Create a new config with given garbage collector.

  24. abstract def withLTO(value: LTO): NativeConfig

    Permalink

    Create a new config with the given lto mode.

  25. abstract def withLinkStubs(value: Boolean): NativeConfig

    Permalink

    Create a new config with given behavior for stubs.

  26. abstract def withLinkingOptions(value: Seq[String]): NativeConfig

    Permalink

    Create a new config with given linking options.

  27. abstract def withLinktimeProperties(value: LinktimeProperites): NativeConfig

    Permalink

    Create a new config with given linktime properites

  28. abstract def withMode(value: Mode): NativeConfig

    Permalink

    Create a new config with given compilation mode.

  29. abstract def withOptimize(value: Boolean): NativeConfig

    Permalink

    Create a new config with given optimize value

  30. abstract def withTargetTriple(value: String): NativeConfig

    Permalink

    Create a new config given a target triple.

  31. abstract def withTargetTriple(value: Option[String]): NativeConfig

    Permalink

    Create a new config given a target triple.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped