public class LinkType extends Object
Constructor and Description |
---|
LinkType()
Constructor
By default, an gui executable with a dynamically linked runtime
|
Modifier and Type | Method and Description |
---|---|
String |
getOutputType()
Gets the output type.
|
String |
getSubsystem()
Get subsystem name.
|
boolean |
isExecutable()
Gets whether the link should produce an executable
|
boolean |
isJNIModule() |
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.
|
boolean |
linkCPP() |
boolean |
linkFortran() |
boolean |
linkFortranMain() |
void |
setLinkCPP(boolean linkCPP) |
void |
setLinkFortran(boolean linkFortran) |
void |
setLinkFortranMain(boolean linkFortranMain) |
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).
|
public LinkType()
public boolean isExecutable()
public boolean isJNIModule()
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 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 String getSubsystem()
public void setLinkCPP(boolean linkCPP)
public boolean linkCPP()
public void setLinkFortran(boolean linkFortran)
public boolean linkFortran()
public void setLinkFortranMain(boolean linkFortranMain)
public boolean linkFortranMain()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.