public class LinkType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private OutputTypeEnum |
outputType |
private boolean |
staticRuntime |
private SubsystemEnum |
subsystem |
Constructor and Description |
---|
LinkType()
Constructor
By default, an gui executable with a dynamically linked runtime
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOutputType()
Gets the output type.
|
java.lang.String |
getSubsystem()
Get subsystem name.
|
boolean |
isExecutable()
Gets whether the link should produce an executable
|
boolean |
isPluginModule()
Gets whether the link should produce a plugin module.
|
boolean |
isSharedLibrary()
Gets whether the link should produce a shared library.
|
boolean |
isStaticLibrary()
Gets whether the link should produce a static library.
|
boolean |
isStaticRuntime()
Gets whether the module should use a statically linked runtime library.
|
boolean |
isSubsystemConsole()
Gets whether the link should produce a module for a console subsystem.
|
boolean |
isSubsystemGUI()
Gets whether the link should produce a module for a graphical user
interface subsystem.
|
void |
setOutputType(OutputTypeEnum outputType)
Sets the output type (execuable, shared, etc).
|
void |
setStaticRuntime(boolean staticRuntime)
Requests use of a static runtime library.
|
void |
setSubsystem(SubsystemEnum subsystem)
Sets the subsystem (gui, console, etc).
|
private OutputTypeEnum outputType
private boolean staticRuntime
private SubsystemEnum subsystem
public LinkType()
public boolean isExecutable()
public boolean isPluginModule()
public boolean isSharedLibrary()
public boolean isStaticLibrary()
public boolean isStaticRuntime()
public boolean isSubsystemConsole()
public boolean isSubsystemGUI()
public void setOutputType(OutputTypeEnum outputType)
outputType
- may not be nullpublic java.lang.String getOutputType()
public void setStaticRuntime(boolean staticRuntime)
staticRuntime
- if true, use static runtime library if possible.public void setSubsystem(SubsystemEnum subsystem)
subsystem
- subsystem, may not be nullpublic java.lang.String getSubsystem()