An object describing how to configure the Scala Native toolchain.
- Companion:
- object
Value members
Abstract methods
This is the name of the executable or library. Calculated based on a
prefix for libraries lib
for UNIX like OSes, baseName, -test
if
testConfig is true
, and the executable or library suffix depending
on platform and library type.
This is the name of the executable or library. Calculated based on a
prefix for libraries lib
for UNIX like OSes, baseName, -test
if
testConfig is true
, and the executable or library suffix depending
on platform and library type.
Final Path to the output file, executable or library. Calculated based on
baseDir /
artifactName.
Final Path to the output file, executable or library. Calculated based on
baseDir /
artifactName.
Base name for executable or library, typically the project/module name
from the build tool moduleName or can be overridden by the user with
NativeConfig#baseName. This must be unique over all module names and
other baseName
s in the project. Delegated method to
NativeConfig#baseName
Base name for executable or library, typically the project/module name
from the build tool moduleName or can be overridden by the user with
NativeConfig#baseName. This must be unique over all module names and
other baseName
s in the project. Delegated method to
NativeConfig#baseName
Build path to support multiple main applications.
Build path to support multiple main applications.
For libraries it is the same as the artifactPath and for applications
it resolves to workDir /
artifactName and after the build it
is copied to artifactPath.
The NativeConfig that is used by the developer to control settings.
The NativeConfig that is used by the developer to control settings.
Name of the project module from the build system. Must be unique amongst modules in the larger project.
Name of the project module from the build system. Must be unique amongst modules in the larger project.
- Returns:
moduleName
Sequence of all Scala sources locations used when mapping binary symbols with original sources.
Sequence of all Scala sources locations used when mapping binary symbols with original sources.
Create a Config with a function which takes and returns a NativeConfig.
Create a Config with a function which takes and returns a NativeConfig.
Create new config with a fully qualified (with package) main class name as an Option. Only applicable if NativeConfig#buildTarget is a BuildTarget#application.
Create new config with a fully qualified (with package) main class name as an Option. Only applicable if NativeConfig#buildTarget is a BuildTarget#application.
Create a new config with the module name - required.
Create a new config with the module name - required.
Create a new config with given Scala sources paths.
Create a new config with given Scala sources paths.
Create a new config with test (true) or normal config (false).
Create a new config with test (true) or normal config (false).
Directory to emit intermediate compilation results. Calculated based on
baseDir / native
or native-test
if a test project. The build
creates directories if they do not exist.
Directory to emit intermediate compilation results. Calculated based on
baseDir / native
or native-test
if a test project. The build
creates directories if they do not exist.
Concrete methods
Shall linker check that NIR is well-formed after every phase?
Shall linker check that NIR is well-formed after every phase?
Shall linker dump intermediate NIR after every phase?
Shall linker dump intermediate NIR after every phase?