net.sf.antcontrib.cpptasks.compiler
Class LinkType
java.lang.Object
net.sf.antcontrib.cpptasks.compiler.LinkType
public class LinkType
extends java.lang.Object
This class represents the target platform for the compile and link step. The
name is an anachronism and should be changed.
LinkType() - Constructor
By default, an gui executable with a dynamically linked runtime
|
LinkType
public LinkType()
Constructor
By default, an gui executable with a dynamically linked runtime
getOutputType
public String getOutputType()
Gets the output type.
getSubsystem
public String getSubsystem()
Get subsystem name.
isExecutable
public boolean isExecutable()
Gets whether the link should produce an executable
isPluginModule
public boolean isPluginModule()
Gets whether the link should produce a plugin module.
isSharedLibrary
public boolean isSharedLibrary()
Gets whether the link should produce a shared library.
isStaticLibrary
public boolean isStaticLibrary()
Gets whether the link should produce a static library.
isStaticRuntime
public boolean isStaticRuntime()
Gets whether the module should use a statically linked runtime library.
isSubsystemConsole
public boolean isSubsystemConsole()
Gets whether the link should produce a module for a console subsystem.
isSubsystemGUI
public boolean isSubsystemGUI()
Gets whether the link should produce a module for a graphical user
interface subsystem.
setOutputType
public void setOutputType(OutputTypeEnum outputType)
Sets the output type (execuable, shared, etc).
setStaticRuntime
public void setStaticRuntime(boolean staticRuntime)
Requests use of a static runtime library.
staticRuntime
- if true, use static runtime library if possible.
setSubsystem
public void setSubsystem(SubsystemEnum subsystem)
Sets the subsystem (gui, console, etc).
subsystem
- subsystem, may not be null
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.