add: if(bExampleFramework) strAdditionalIncludeDirectories = strAdditionalIncludeDirectories + ";" + strOgreMainDir + "\\samples\\include";  
context: function AddSpecificConfig(proj, strProjectName, bEmptyProject){	var bCommonFramework = wizard.FindSymbol('FRAMEWORK_YES');	var bPostbuildCopy = wizard.FindSymbol('POSTBUILD_COPY');	var sOgreFolder = wizard.FindSymbol('OGRE_FOLDER');	var bUseCEGUI = wizard.FindSymbol('CEGUI_YES');		strOgreMainDir = '$(OGRE_HOME)';	strCEGUIRendererDir = '$(OGRE_HOME)' + '\\samples\\include';		//DEBUG////////////////////////////////////////////////////////set configurations for debug|win32	var config = proj.Object.Configurations("Debug|Win32");	config.IntermediateDirectory = 'obj\\$(ConfigurationName)';	config.OutputDirectory = 'bin\\$(ConfigurationName)';	config.CharacterSet = charSetMBCS;		var debugSettings = config.DebugSettings;	if(bPostbuildCopy)	{		debugSettings.WorkingDirectory = strOgreMainDir + "\\Bin\\$(ConfigurationName)";		debugSettings.Command = strOgreMainDir + "\\Bin\\$(ConfigurationName)\\$(ProjectName).exe";	}	else	{		debugSettings.WorkingDirectory = "..\\Bin\\$(ConfigurationName)";		debugSettings.Command = "..\\Bin\\$(ConfigurationName)\\$(ProjectName).exe";	}	var CLTool = config.Tools("VCCLCompilerTool");	CLTool.UsePrecompiledHeader = pchNone;	CLTool.RuntimeLibrary = rtMultiThreadedDebugDLL;	CLTool.MinimalRebuild = true;	CLTool.DebugInformationFormat = debugEditAndContinue;	CLTool.BasicRuntimeChecks = runtimeBasicCheckAll;	CLTool.Optimization = optimizeDisabled;	CLTool.ExceptionHandling = cppExceptionHandlingYes;	CLTool.Detect64BitPortabilityProblems = true;	CLTool.EnableFunctionLevelLinking = true;	CLTool.MinimalRebuild = true;	CLTool.WarningLevel = WarningLevel_3;	CLTool.PreprocessorDefinitions = "WIN32;_DEBUG;_WINDOWS";	strAdditionalIncludeDirectories = "include;" + strOgreMainDir + "\\include";	if(bUseCEGUI)		strAdditionalIncludeDirectories = strAdditionalIncludeDirectories + ";" + strOgreMainDir + "\\include\\CEGUI" + ";" + strCEGUIRendererDir;	CLTool.AdditionalIncludeDirectories = strAdditionalIncludeDirectories;	var LinkTool = config.Tools("VCLinkerTool");	LinkTool.ProgramDatabaseFile = "$(TargetDir)\\$(TargetName)" + ".pdb";	LinkTool.GenerateDebugInformation = true;	LinkTool.ProgramDatabaseFile = "$(OutDir)/" + strProjectName + ".pdb";	LinkTool.LinkIncremental = linkIncrementalYes;	LinkTool.SubSystem = subSystemWindows;	LinkTool.OutputFile = "$(OutDir)\\$(ProjectName)" + ".exe";	LinkTool.TargetMachine = machineTypeOption.machineX86;	strAdditionalLibraryDirectories = strOgreMainDir + "\\lib";	strAdditionalDependencies = "OgreMain_d.lib";			if(bUseCEGUI)	{		strAdditionalDependencies = strAdditionalDependencies + " CEGUIBase_d.lib OgreGUIRenderer_d.lib";	}	LinkTool.AdditionalLibraryDirectories = strAdditionalLibraryDirectories;	LinkTool.AdditionalDependencies = strAdditionalDependencies;	if(bPostbuildCopy)	{		var PostBuildTool = config.Tools("VCPostBuildEventTool");		PostBuildTool.Description = "Copying exe to samples bin directory ...";		PostBuildTool.CommandLine = 'copy "$(OutDir)\\$(TargetFileName)" "' + strOgreMainDir + '\\Bin\\$(ConfigurationName)"';	}        //RELEASE////////////////////////////////////////////////////////set configurations for release|win32	config = proj.Object.Configurations.Item("Release|Win32");	config.IntermediateDirectory = 'obj\\$(ConfigurationName)';	config.OutputDirectory = 'bin\\$(ConfigurationName)';	config.CharacterSet = charSetMBCS;		var CLTool = config.Tools("VCCLCompilerTool");	CLTool.UsePrecompiledHeader = pchNone;	CLTool.RuntimeLibrary = rtMultiThreadedDLL;	CLTool.ExceptionHandling = cppExceptionHandlingYes;	CLTool.DebugInformationFormat = debugEnabled;	CLTool.WarningLevel = WarningLevel_3;	//CLTool.ImproveFloatingPointConsistency = true;			CLTool.Detect64BitPortabilityProblems = true;	CLTool.PreprocessorDefinitions = "WIN32;NDEBUG;_WINDOWS";	CLTool.EnableFunctionLevelLinking = true;	CLTool.MinimalRebuild = true;	//CLTool.FavorSizeOrSpeed = favorSizeOrSpeedOption.favorSpeed;	//CLTool.GlobalOptimizations = true;	//CLTool.InlineFunctionExpansion = inlineExpansionOption.expandOnlyInline;	//CLTool.Optimization = optimizeOption.optimizeMaxSpeed;	//CLTool.OmitFramePointers = true;	//CLTool.OptimizeForProcessor = ProcessorOptimizeOption.procOptimizePentiumProAndAbove;	//CLTool.OptimizeForWindowsApplication = true;	//CLTool.StringPooling = true;	CLTool.InlineFunctionExpansion = expandOnlyInline;		strAdditionalIncludeDirectories = "include;" + strOgreMainDir + "\\include";			if(bUseCEGUI)		strAdditionalIncludeDirectories = strAdditionalIncludeDirectories + ";" + strOgreMainDir + "\\include\\CEGUI" + ";" + strCEGUIRendererDir;		CLTool.AdditionalIncludeDirectories = strAdditionalIncludeDirectories;	var LinkTool = config.Tools("VCLinkerTool");	LinkTool.GenerateDebugInformation = true;	LinkTool.LinkIncremental = linkIncrementalNo;	LinkTool.SubSystem = subSystemWindows;	LinkTool.OutputFile = "$(OutDir)\\$(ProjectName)" + ".exe";	strAdditionalLibraryDirectories = strOgreMainDir + "\\lib";			strAdditionalDependencies = "OgreMain.lib";			if(bUseCEGUI)	{		strAdditionalDependencies = strAdditionalDependencies + " CEGUIBase.lib OgreGUIRenderer.lib";	}		LinkTool.AdditionalLibraryDirectories = strAdditionalLibraryDirectories;	LinkTool.AdditionalDependencies = strAdditionalDependencies;		if(bPostbuildCopy)	{		var PostBuildTool = config.Tools("VCPostBuildEventTool");		PostBuildTool.Description = "Copying exe to samples bin directory ...";		PostBuildTool.CommandLine = 'copy "$(OutDir)\\$(TargetFileName)" "' + strOgreMainDir + '\\Bin\\$(ConfigurationName)"';	}}
meta: 10348	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10348/4b9cf2d51f283494d5c8301f723e7a129f61ecbe/default.js/clean/trunk/tools/ogresdkwizard80/Files/Scripts/1033/default.js