diff options
Diffstat (limited to 'src/main/java/net/sf/antcontrib/cpptasks/CCTask.java')
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/CCTask.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java b/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java index 2e6adab..95af2a9 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/CCTask.java @@ -1291,6 +1291,28 @@ public class CCTask extends Task { return linkType.getOutputType(); } + + /** + * User preference whether to use a high-level-tool for + * linker operations, e.g. gcc instead of ar to build static libraries. + * <p> + * Default is false. + * </p> + * @param useHighlevelTool user preference, default is false + */ + public void setUseHighlevelTool(final boolean useHighlevelTool) { + linkType.setUseHighlevelTool(useHighlevelTool); + } + + /** + * Gets the usehighleveltool flag. + * @return the usehighleveltool flag + * @see #setUseHighlevelTool(boolean) + */ + public boolean getUseHighlevelTool() { + return linkType.getUseHighlevelTool(); + } + /** * Sets the project. */ |