src/share/tools/ProjectCreator/WinGammaPlatformVC8.java

Print this page
rev 6881 : [mq]: homeparams


  31 }
  32 
  33 class CompilerInterfaceVC8 extends CompilerInterfaceVC7 {
  34 
  35     Vector getBaseCompilerFlags(Vector defines, Vector includes, String outDir) {
  36         Vector rv = new Vector();
  37 
  38         getBaseCompilerFlags_common(defines,includes, outDir, rv);
  39         // Set /Yu option. 2 is pchUseUsingSpecific
  40         addAttr(rv, "UsePrecompiledHeader", "2");
  41         // Set /EHsc- option. 0 is cppExceptionHandlingNo
  42         addAttr(rv, "ExceptionHandling", "0");
  43 
  44         // enable multi process builds
  45         extAttr(rv, "AdditionalOptions", "/MP");
  46 
  47         return rv;
  48     }
  49 
  50 
  51     Vector getDebugCompilerFlags(String opt) {
  52         Vector rv = new Vector();
  53 
  54         getDebugCompilerFlags_common(opt,rv);
  55 
  56         return rv;
  57     }
  58 
  59     Vector getProductCompilerFlags() {
  60         Vector rv = new Vector();
  61 
  62         getProductCompilerFlags_common(rv);
  63 
  64         return rv;
  65     }
  66 
  67 
  68 }


  31 }
  32 
  33 class CompilerInterfaceVC8 extends CompilerInterfaceVC7 {
  34 
  35     Vector getBaseCompilerFlags(Vector defines, Vector includes, String outDir) {
  36         Vector rv = new Vector();
  37 
  38         getBaseCompilerFlags_common(defines,includes, outDir, rv);
  39         // Set /Yu option. 2 is pchUseUsingSpecific
  40         addAttr(rv, "UsePrecompiledHeader", "2");
  41         // Set /EHsc- option. 0 is cppExceptionHandlingNo
  42         addAttr(rv, "ExceptionHandling", "0");
  43 
  44         // enable multi process builds
  45         extAttr(rv, "AdditionalOptions", "/MP");
  46 
  47         return rv;
  48     }
  49 
  50 
  51     Vector getDebugCompilerFlags(String opt, String platformName) {
  52         Vector rv = new Vector();
  53 
  54         getDebugCompilerFlags_common(opt,rv);
  55 
  56         return rv;
  57     }
  58 
  59     Vector getProductCompilerFlags() {
  60         Vector rv = new Vector();
  61 
  62         getProductCompilerFlags_common(rv);
  63 
  64         return rv;
  65     }
  66 
  67 
  68 }