src/share/tools/ProjectCreator/WinGammaPlatformVC7.java

Print this page
rev 6853 : [mq]: homeparams


 267          addAttr(rv, "TargetMachine", "17");
 268       }
 269 
 270       return rv;
 271    }
 272 
 273    void getDebugCompilerFlags_common(String opt, Vector rv) {
 274 
 275       // Set /On option
 276       addAttr(rv, "Optimization", opt);
 277       // Set /FR option. 1 is brAllInfo
 278       addAttr(rv, "BrowseInformation", "1");
 279       addAttr(rv, "BrowseInformationFile", "$(IntDir)" + Util.sep);
 280       // Set /MD option. 2 is rtMultiThreadedDLL
 281       addAttr(rv, "RuntimeLibrary", "2");
 282       // Set /Oy- option
 283       addAttr(rv, "OmitFramePointers", "FALSE");
 284 
 285    }
 286 
 287    Vector getDebugCompilerFlags(String opt) {
 288       Vector rv = new Vector();
 289 
 290       getDebugCompilerFlags_common(opt, rv);
 291 
 292       return rv;
 293    }
 294 
 295    Vector getDebugLinkerFlags() {
 296       Vector rv = new Vector();
 297 
 298       addAttr(rv, "GenerateDebugInformation", "TRUE"); // == /DEBUG option
 299 
 300       return rv;
 301    }
 302 
 303    void getAdditionalNonKernelLinkerFlags(Vector rv) {
 304       extAttr(rv, "AdditionalOptions", "/export:AsyncGetCallTrace ");
 305    }
 306 
 307    void getProductCompilerFlags_common(Vector rv) {




 267          addAttr(rv, "TargetMachine", "17");
 268       }
 269 
 270       return rv;
 271    }
 272 
 273    void getDebugCompilerFlags_common(String opt, Vector rv) {
 274 
 275       // Set /On option
 276       addAttr(rv, "Optimization", opt);
 277       // Set /FR option. 1 is brAllInfo
 278       addAttr(rv, "BrowseInformation", "1");
 279       addAttr(rv, "BrowseInformationFile", "$(IntDir)" + Util.sep);
 280       // Set /MD option. 2 is rtMultiThreadedDLL
 281       addAttr(rv, "RuntimeLibrary", "2");
 282       // Set /Oy- option
 283       addAttr(rv, "OmitFramePointers", "FALSE");
 284 
 285    }
 286 
 287    Vector getDebugCompilerFlags(String opt, String platformName) {
 288       Vector rv = new Vector();
 289 
 290       getDebugCompilerFlags_common(opt, rv);
 291 
 292       return rv;
 293    }
 294 
 295    Vector getDebugLinkerFlags() {
 296       Vector rv = new Vector();
 297 
 298       addAttr(rv, "GenerateDebugInformation", "TRUE"); // == /DEBUG option
 299 
 300       return rv;
 301    }
 302 
 303    void getAdditionalNonKernelLinkerFlags(Vector rv) {
 304       extAttr(rv, "AdditionalOptions", "/export:AsyncGetCallTrace ");
 305    }
 306 
 307    void getProductCompilerFlags_common(Vector rv) {