| 607 | |
| 608 | (If you wish to make '''all''' of your VS projects in ''' all''' VS solutions compile with other options '''by default''', you might consider (carefully) editing (with a text editor, very carefully, after keeping a copy of the original) the file C:\Program Files\Microsoft Visual Studio 9.0\VC\VCWizards\1033\common.js to change from the Microsoft defaults. This does not seem to be officially documented as far as I know. It may save you changing the project properties repeatedly. |
| 609 | |
| 610 | {{{ |
| 611 | function AddCommonConfig(oProj, strProjectName,bAddUnicode,bForEmptyProject) in the sections for debug and/or release |
| 612 | |
| 613 | CLTool.DisableLanguageExtensions = true; // add to make the default NO MS extensions. |
| 614 | |
| 615 | LinkTool.LinkIncremental = linkIncrementalNo; // add |
| 616 | |
| 617 | CLTool.WarningLevel = WarningLevel_4; // change from 3 to 4 to making the default warning level 4 |
| 618 | |
| 619 | }}} |