|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.managedbuilder.makegen.gnu.DefaultGCCDependencyCalculatorPreBuildCommands
public class DefaultGCCDependencyCalculatorPreBuildCommands
This dependency calculator uses the GCC -MM -MF -MP -MT options in order to generate .d files as separate step prior to the source compilations. This dependency calculator uses the class DefaultGCCDependencyCalculatorPreBuildCommands which implements the per-source command information This class is used with DefaultGCCDependencyCalculatorPreBuild.
Constructor Summary | |
---|---|
DefaultGCCDependencyCalculatorPreBuildCommands(org.eclipse.core.runtime.IPath source,
IBuildObject buildContext,
ITool tool,
org.eclipse.core.runtime.IPath topBuildDirectory)
Constructor. |
|
DefaultGCCDependencyCalculatorPreBuildCommands(org.eclipse.core.runtime.IPath source,
org.eclipse.core.resources.IResource resource,
IBuildObject buildContext,
ITool tool,
org.eclipse.core.runtime.IPath topBuildDirectory)
Constructor |
Method Summary | |
---|---|
boolean |
areCommandsGeneric()
Returns true if the command lines returned by this interface are not specific to the particular source file, but are only specific to, at most, the configuration and tool. |
IBuildObject |
getBuildContext()
|
java.lang.String |
getBuildStepName()
Returns the name to be used in the build file to identify the separate build step. |
java.lang.String[] |
getDependencyCommands()
Returns the command line(s) to be invoked in the separate dependencies pre-build step. |
org.eclipse.core.runtime.IPath[] |
getDependencyFiles()
Returns the list of generated dependency files. |
org.eclipse.core.runtime.IPath |
getSource()
|
ITool |
getTool()
|
org.eclipse.core.runtime.IPath |
getTopBuildDirectory()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGCCDependencyCalculatorPreBuildCommands(org.eclipse.core.runtime.IPath source, org.eclipse.core.resources.IResource resource, IBuildObject buildContext, ITool tool, org.eclipse.core.runtime.IPath topBuildDirectory)
source
- The source file for which dependencies should be calculated
The IPath can be either relative to the project directory, or absolute in the file system.buildContext
- The IConfiguration or IResourceConfiguration that
contains the context in which the source file will be builttool
- The tool associated with the source filetopBuildDirectory
- The top build directory of the configuration. This is
the working directory for the tool. This IPath is relative to the project directory.public DefaultGCCDependencyCalculatorPreBuildCommands(org.eclipse.core.runtime.IPath source, IBuildObject buildContext, ITool tool, org.eclipse.core.runtime.IPath topBuildDirectory)
source
- The source file for which dependencies should be calculated
The IPath can be either relative to the project directory, or
absolute in the file system.buildContext
- The IConfiguration or IResourceConfiguration that contains the
context in which the source file will be builttool
- The tool associated with the source filetopBuildDirectory
- The top build directory of the configuration. This is the
working directory for the tool. This IPath is relative to the
project directory.DefaultGCCDependencyCalculatorPreBuildCommands(IPath source, IResource resource, IBuildObject buildContext, ITool tool, IPath topBuildDirectory)
Method Detail |
---|
public boolean areCommandsGeneric()
IManagedDependencyPreBuild
areCommandsGeneric
in interface IManagedDependencyPreBuild
public java.lang.String getBuildStepName()
IManagedDependencyPreBuild
getBuildStepName
in interface IManagedDependencyPreBuild
public java.lang.String[] getDependencyCommands()
IManagedDependencyPreBuild
getDependencyCommands
in interface IManagedDependencyPreBuild
public org.eclipse.core.runtime.IPath[] getDependencyFiles()
IManagedDependencyPreBuild
getDependencyFiles
in interface IManagedDependencyPreBuild
public IBuildObject getBuildContext()
getBuildContext
in interface IManagedDependencyInfo
public org.eclipse.core.runtime.IPath getSource()
getSource
in interface IManagedDependencyInfo
public ITool getTool()
getTool
in interface IManagedDependencyInfo
public org.eclipse.core.runtime.IPath getTopBuildDirectory()
getTopBuildDirectory
in interface IManagedDependencyInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |