tigrushke
March 15th, 2005, 01:38 PM
I have a question to all of you .NET gurus.
I want to create a custom wizard that will create a custom project with Unicode Debug and Unicode Release build.
In common.js file there is the function to set a "Debug" or "Release" build. How to create a new build?!
var config = oProj.Object.Configurations("Debug");
config.IntermediateDirectory = "UDebug";
config.OutputDirectory = "UDebug";
var CLTool = config.Tools("VCCLCompilerTool");
CLTool.UsePrecompiledHeader = pchUseUsingSpecific;
CLTool.WarningLevel = warningLevel_3;
CLTool.MinimalRebuild = true;
CLTool.DebugInformationFormat = debugEditAndContinue;
CLTool.Optimization = optimizeDisabled;
CLTool.BasicRuntimeChecks = runtimeBasicCheckAll;
CLTool.Detect64BitPortabilityProblems = true;
var LinkTool = config.Tools("VCLinkerTool");
LinkTool.SubSystem = subSystemWindows;
LinkTool.TargetMachine = machineX86;
LinkTool.GenerateDebugInformation = true;
Anything for Unicode build?!?!?!
Thank you all!!!
I want to create a custom wizard that will create a custom project with Unicode Debug and Unicode Release build.
In common.js file there is the function to set a "Debug" or "Release" build. How to create a new build?!
var config = oProj.Object.Configurations("Debug");
config.IntermediateDirectory = "UDebug";
config.OutputDirectory = "UDebug";
var CLTool = config.Tools("VCCLCompilerTool");
CLTool.UsePrecompiledHeader = pchUseUsingSpecific;
CLTool.WarningLevel = warningLevel_3;
CLTool.MinimalRebuild = true;
CLTool.DebugInformationFormat = debugEditAndContinue;
CLTool.Optimization = optimizeDisabled;
CLTool.BasicRuntimeChecks = runtimeBasicCheckAll;
CLTool.Detect64BitPortabilityProblems = true;
var LinkTool = config.Tools("VCLinkerTool");
LinkTool.SubSystem = subSystemWindows;
LinkTool.TargetMachine = machineX86;
LinkTool.GenerateDebugInformation = true;
Anything for Unicode build?!?!?!
Thank you all!!!