summaryrefslogtreecommitdiff
path: root/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/compiler/LinkType.java')
-rw-r--r--src/net/sf/antcontrib/cpptasks/compiler/LinkType.java19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java
index 2ab5380..2b887ab 100644
--- a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java
+++ b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java
@@ -27,9 +27,10 @@ public class LinkType {
private OutputTypeEnum outputType = new OutputTypeEnum();
private boolean staticRuntime = false;
private SubsystemEnum subsystem = new SubsystemEnum();
+
// FREEHEP
private boolean linkCPP = true;
-
+
/**
* Constructor
*
@@ -47,12 +48,11 @@ public class LinkType {
String value = outputType.getValue();
return value.equals("executable");
}
-// FREEHEP
+
public boolean isJNIModule() {
String value = outputType.getValue();
- return value.equals("jni");
+ return value.equals("jni");
}
-
/**
* Gets whether the link should produce a plugin module.
*
@@ -158,15 +158,16 @@ public class LinkType {
public String getSubsystem() {
return subsystem.getValue();
}
-
+
+// BEGINFREEHEP
public void setLinkCPP(boolean linkCPP) {
- this.linkCPP = linkCPP;
+ this.linkCPP = linkCPP;
}
public boolean linkCPP() {
- return linkCPP;
+ return linkCPP;
}
+
+// ENDFREEHEP
- // FREEHEP: flag
- public boolean callAddLibrarySets = false;
}