From 5ba0735d92fa10234e81c24d2157cd1c3771c37b Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Fri, 16 Jun 2006 17:44:50 +0000 Subject: Added flag to disable linking with CPP --- src/net/sf/antcontrib/cpptasks/compiler/LinkType.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/sf/antcontrib/cpptasks/compiler/LinkType.java') diff --git a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java index 31348f2..2ab5380 100644 --- a/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java +++ b/src/net/sf/antcontrib/cpptasks/compiler/LinkType.java @@ -27,6 +27,9 @@ public class LinkType { private OutputTypeEnum outputType = new OutputTypeEnum(); private boolean staticRuntime = false; private SubsystemEnum subsystem = new SubsystemEnum(); +// FREEHEP + private boolean linkCPP = true; + /** * Constructor * @@ -156,6 +159,14 @@ public class LinkType { return subsystem.getValue(); } + public void setLinkCPP(boolean linkCPP) { + this.linkCPP = linkCPP; + } + + public boolean linkCPP() { + return linkCPP; + } + // FREEHEP: flag public boolean callAddLibrarySets = false; } -- cgit v1.2.3