summaryrefslogtreecommitdiff
path: root/src/net/sf/antcontrib/cpptasks/devstudio
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-18 14:23:20 +0000
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-18 14:23:20 +0000
commit66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0 (patch)
tree0e0220ed936919b0709d803ceb111f056446a19b /src/net/sf/antcontrib/cpptasks/devstudio
parentcc0870758539a932dd3dc19653ce5189266f0967 (diff)
downloadcpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.tar.gz
cpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.tar.bz2
cpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.tar.xz
cpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.zip
Fixed concurrent debug database file update as part of NARPLUGIN-123
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/devstudio')
-rw-r--r--src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java b/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java
index 2502799..dc1afb3 100644
--- a/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java
+++ b/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java
@@ -72,6 +72,7 @@ public abstract class DevStudioCompatibleCCompiler
}
if (debug) {
mindex += 1;
+// FREEHEP changed /Zi into /Z7
args.addElement("/Zi");
args.addElement("/Od");
args.addElement("/GZ");
@@ -105,6 +106,7 @@ public abstract class DevStudioCompatibleCCompiler
String lastInclude) {
String[] additionalArgs = new String[]{
"/Fp" + CUtil.getBasename(prototype) + ".pch", "/Yc"};
+ // FREEHEP FIXME we may need /Yd here, but only in debug mode, how do we find out?
return new CommandLineCompilerConfiguration(baseConfig, additionalArgs,
null, true);
}