scala.scalanative.build

Config

sealed trait Config extends AnyRef

An object describing how to configure the Scala Native toolchain.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Config
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def clang: Path

    The path to the clang executable.

  2. abstract def clangPP: Path

    The path to the clang++ executable.

  3. abstract def classPath: Seq[Path]

    Sequence of all NIR locations.

  4. abstract def compileOptions: Seq[String]

    The compilation options passed to LLVM.

  5. abstract def gc: GC

    The garbage collector to use.

  6. abstract def linkStubs: Boolean

    Should stubs be linked?

  7. abstract def linkingOptions: Seq[String]

    The options passed to LLVM's linker.

  8. abstract def logger: Logger

    The logger used by the toolchain.

  9. abstract def mainClass: String

    Entry point for linking.

  10. abstract def mode: Mode

    Compilation mode.

  11. abstract def nativelib: Path

    Path to the nativelib jar.

  12. abstract def targetTriple: String

    Target triple that defines current OS, ABI and CPU architecture.

  13. abstract def withClang(value: Path): Config

    Create a new config with given path to clang.

  14. abstract def withClangPP(value: Path): Config

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

  15. abstract def withClassPath(value: Seq[Path]): Config

    Create a new config with given nir paths.

  16. abstract def withCompileOptions(value: Seq[String]): Config

    Create a new config with given compilation options.

  17. abstract def withGC(value: GC): Config

    Create a new config with given garbage collector.

  18. abstract def withLinkStubs(value: Boolean): Config

    Create a new config with given behavior for stubs.

  19. abstract def withLinkingOptions(value: Seq[String]): Config

    Create a new config with given linking options.

  20. abstract def withLogger(value: Logger): Config

    Create a new config with the given logger.

  21. abstract def withMainClass(value: String): Config

    Create new config with given mainClass point.

  22. abstract def withMode(value: Mode): Config

    Create a new config with given compilation mode.

  23. abstract def withNativelib(value: Path): Config

    Create a new config with given path to nativelib.

  24. abstract def withTargetTriple(value: String): Config

    Create a new config with given target triple.

  25. abstract def withWorkdir(value: Path): Config

    Create a new config with given directory.

  26. abstract def workdir: Path

    Directory to emit intermediate compilation results.

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped