亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cppnetcompilerparameters.cs

?? SharpDevelop2.0.0 c#開發免費工具
?? CS
?? 第 1 頁 / 共 4 頁
字號:
// <file>
//     <copyright see="prj:///doc/copyright.txt"/>
//     <license see="prj:///doc/license.txt"/>
//     <owner name="Mike Krueger" email="mike@icsharpcode.net"/>
//     <version value="$version"/>
// </file>

using System;
using System.ComponentModel;
using System.Text;
using System.Xml;
using System.Diagnostics;

using ICSharpCode.SharpDevelop.Gui;
using ICSharpCode.SharpDevelop.Internal.Project;

namespace CPPBinding
{
	#region OPTIMIZATION
	public enum OptimizeLevel {
		Deactivated,      // /Od
		MinimizeSize,     // /O1
		MaximizeSpeed,    // /O2
		CompleteOptimize  // /Ox
	}
	
	public enum FloatingPointConsistency {
		Standard,
		Enhanced  // /Op
	}
	
	public enum InlineFunctionExpansion 
	{
		Standard,  // /Ob0
		Manual,    // /Ob1
		Automatic  // /Ob2
	}
	
	public enum SizeOrSpeedOptimization
	{
		Neither,
		Size,
		Speed
	}

	#endregion
	
	#region CODE GENERATION
	public enum Architecture {
		Mixed,      
		i386,       // /G3
		i486,       // /G4
		Pentium,    // /G5
		PentiumPRO, // /G6
		Pentium4    // /G7
	}
	
	public enum CallingConvention {
		__cdecl,    // default (/Gd)
		__fastcall, // /Gr
		__stdcall   // /Gz
	}

	public enum EnhancedInstructionSet {
		NotSpecified,
		SSE,          // /arch:SSE
		SSE2          // /arch:SSE2
	}
	
	public enum RunTimeObservation {
		Standard,
		Stack,                  // /RTCs
		UninitializedVariables, // /RTCu
		Both                    // /RTCs /RTCu
	}
	
	public enum ExceptionHandling {
		None,
		SynchronousExceptionHandling, // /GX
		AsynchronousExceptionHandling // /EHa
	}
	
	public enum StringPooling {
		Disabled,
		Enabled,
		EnabledReadOnlyPooling
	}

	#endregion

	#region DEBUGGING
	public enum DebugInformationFormat {
		Deactivated,
		C7,								   // /Z7
		OnlyLineNumbers,				   // /Zd
		ProgramDatabase,				   // /Zi
		ProgramDatabaseWithEditAndContinue // /ZI
	}
	
	#endregion

	#region PREPROCESSOR
	public enum PreProcessorRun {
		No,
		WithLineNumbers,    // /E
		WithoutLineNumbers  // /EP
	}
	#endregion
	
	#region LANGUAGE
	public enum StructMemberAlignment {
		Standard,
		Byte1,    // /Zp1
		Byte2,    // /Zp2
		Byte4,    // /Zp4
		Byte8,    // /Zp8
		Byte16,   // /Zp16
	}

	public enum LanguageExtensions {
		Enable, // /Ze
		Disable // /Za
	}
	
	#endregion
	
	#region LINKING
	public enum RunTimeLibrary {
		MultiThreaded,         // /MT
		MultiThreadedDebug,    // /MTd
		MultiThreadedDLL,      // /MD
		MultiThreadedDebugDLL, // /MDd
		SingleThreaded,        // /ML
		SingleThreadedDebug    // /MLd
	}
	
	public enum ConfigurationType {
		Exe, 
		Dll
	}
	
	#endregion

	#region PRECOMPILED HEADER	
	public enum PreCompiledHeader {
		DontUsePre,          // /Y-
		Create,              // /Yc
		CreateAutomatically, // /YX
		Use                  // /Yu
	}
	#endregion

	#region MISCELLANEOUS
	public enum CompileType {
		Standard,
		C,        // /TC
		CPP       // /TP
	}
	
	#endregion
	
	
	
	public enum AssemblyOutput {
		NoList,
		ListAssembly,
		ListAssemblyWithSource,
		ListAssemblyWithCode,
		ListAssemblyWithCodeAndSource,
	}
	
	public enum ShowLinkerStatus {
		Unselected,
		ShowAll,
		ShowSome
	}
	public enum IncrementalLinking {
		Standard,
		Yes,
		No
	}
	
	public enum DebuggableAssembly {
		DontEmitDebuggable,
		EnableDebugToRuntimeDisableOptimization,
		DisableDebugToRuntimEnableOptimization
	}
	
	public enum LinkerSubSystem {
		Unselected,
		Console,
		Windows
	}
	public enum ActivateBigAddresses {
		Standard,
		NoSupport,
		Supported
	}
	public enum TerminalServer {
		Standard,
		NotBound,
		Bound
	}
	
	/// <summary>
	/// This class handles project specific compiler parameters
	/// </summary>
	public class CPPCompilerParameters : AbstractProjectConfiguration
	{

		private static bool IsNotEmpty(string arg) 
		{
			return arg != null && arg.Length > 0;
		}
		
		private static void AppendOption(StringBuilder sb, String opt, String val) 
		{
			AppendOption(sb, opt, val, true);
		}
		
		private static void AppendOption(StringBuilder sb, String opt, String val, bool quote) 
		{
			
			sb.Append(opt);
			if (quote) 
				sb.Append('"');
			sb.Append(val);
			if (quote) 
				sb.Append('"');
			sb.Append("\n");
		}
		
		private static void AppendList(StringBuilder sb, String opt, String values)
		{
			AppendList(sb, opt, values, true);
		}
	
		private static void AppendList(StringBuilder sb, String opt, String values, bool quote)
		{
			foreach (string val in values.Split(';'))
			{
				AppendOption(sb, opt, val, quote);
			}
		}
		
		#region Misc Options
		[XmlNodeName("MiscOptions")]
		public class MiscCPPOptions 
		{
			[ConvertToRelativePath()]
			[XmlAttribute("OutputDirectory")]
			public string outputDirectory       = "";
			
			[ConvertToRelativePath()]
			[XmlAttribute("IntermediateDirectory")]
			public string intermediateDirectory = "";
			
			[XmlAttribute("ConfigurationType")]
			public ConfigurationType configurationType   = ConfigurationType.Exe;
			
			[XmlAttribute("UseManagedExtensions")]
			public bool useManagedExtensions = true;
			
			[XmlAttribute("additionalCompilerOptions")]
			public string additionalCompilerOptions = "";
		}
		#endregion
	
		#region General Options
		[XmlNodeName("GeneralCPPOptions")]
		public class GeneralCPPOptions
		{
			[XmlAttribute("additionalIncludeDirectories")]
			public string additionalIncludeDirectories = "";
			
			[XmlAttribute("additionalAssemblySearchPaths")]
			public string additionalAssemblySearchPaths = "";
			
			[XmlAttribute("debugInformationFormat")]
			public DebugInformationFormat debugInformationFormat = DebugInformationFormat.Deactivated;
			
			[XmlAttribute("noStartLogo")]
			public bool noStartLogo = true;
			
			[XmlAttribute("warningLevel")]
			public int warningLevel = 4;
			
			[XmlAttribute("search64BitPortabilityProblems")]
			public bool search64BitPortabilityProblems = false;
			
//			[XmlAttribute("treatWarningsAsErrors")]
//			public bool treatWarningsAsErrors = false;
			
			[DefaultValue("")]
			[LocalizedProperty("Additional include paths",
			                   Description = "Specifies one or more semi-colon delimited additonal paths to search for includes. (/I[path])")]
			public string AdditionalIncludeDirectories {
				get {
					return additionalIncludeDirectories;
				}
				set {
					additionalIncludeDirectories = value;
				}
			}
			
			[DefaultValue("")]
			[LocalizedProperty("Additional assembly search",
			                   Description = "Specifies one or more semi-colon delimited additonal paths to search for #using assemblies. (/AI[path])")]
			public string AdditionalAssemblySearchPaths {
				get {
					return additionalAssemblySearchPaths;
				}
				set {
					additionalAssemblySearchPaths = value;
				}
			}
			
			[LocalizedProperty("Debug information format",
			                   Description = "(/Z7, /Zd, /Zi. /ZI)")]
			public DebugInformationFormat DebugInformationFormat {
				get {
					return debugInformationFormat;
				}
				set {
					debugInformationFormat = value;
				}
			}
			
			[DefaultValue(true)]
			[LocalizedProperty("Surpress Startup Logo",
			                   Description = "Surpress the display of the startup logo and information messages. (/nologo)")]
			public bool NoStartLogo {
				get {
					return noStartLogo;
				}
				set {
					noStartLogo = value;
				}
			}
			
			[DefaultValue(4)]
			[LocalizedProperty("Warning level",
			                   Description = "(/W0 - /W4)")]
			public int WarningLevel {
				get {
					return warningLevel;
				}
				set {
					warningLevel = value;
				}
			}
			
			[DefaultValue(false)]
			[LocalizedProperty("Search for 64-Bit portability problems",
			                   Description = "(/Wp64)")]
			public bool Search64BitPortabilityProblems {
				get {
					return search64BitPortabilityProblems;
				}
				set {
					search64BitPortabilityProblems = value;
				}
			}
			
//			[DefaultValue(false)]
//			[LocalizedProperty("Treat warnings as errors",
//			                   Description = "(/WX)")]
//			public bool TreatWarningsAsErrors {
//				get {
//					return treatWarningsAsErrors;
//				}
//				set {
//					treatWarningsAsErrors = value;
//				}
//			}
			
			public string GetCommandLineParameters()
			{
				StringBuilder result = new StringBuilder();
				if (IsNotEmpty(AdditionalIncludeDirectories)) {
					AppendList(result, "/I", AdditionalIncludeDirectories, true);
				}
				if (IsNotEmpty(AdditionalAssemblySearchPaths)) {
					AppendList(result, "/AI", AdditionalAssemblySearchPaths, true);
				}
				switch (DebugInformationFormat) {
					case DebugInformationFormat.Deactivated:
						break;
					case DebugInformationFormat.C7:
						result.Append("/Z7\n");
						break;
					case DebugInformationFormat.OnlyLineNumbers:
						result.Append("/Zd\n");
						break;
					case DebugInformationFormat.ProgramDatabase:
						result.Append("/Zi\n");
						break;
					case DebugInformationFormat.ProgramDatabaseWithEditAndContinue:
						result.Append("/ZI\n");
						break;
					
				}
				if (NoStartLogo) {
					result.Append("/nologo\n");
				}
				AppendOption(result, "/W", WarningLevel.ToString());
				if (Search64BitPortabilityProblems) {
					result.Append("/Wp64\n");
				}
//				if (TreatWarningsAsErrors) {
//					result.Append("/WX\n");
//				}
				
				return result.ToString();
			}
		}
		#endregion
		
		#region Optimize Options
		[XmlNodeName("OptimizeCPPOptions")]
		public class OptimizeCPPOptions
		{
			[XmlAttribute("optimizeLevel")]
			public OptimizeLevel optimizeLevel = OptimizeLevel.Deactivated;
			
			[XmlAttribute("useGlobalOptimize")]
			public bool useGlobalOptimize = false;
			
			[XmlAttribute("inlineFunctionExtension")]
			public InlineFunctionExpansion inlineFunctionExpansion = InlineFunctionExpansion.Standard;
			
			[XmlAttribute("activateSysInternalFunctions")]
			public bool activateSysInternalFunctions = false;
			
			[XmlAttribute("floatingPointConsistency")]
			public FloatingPointConsistency floatingPointConsistency = FloatingPointConsistency.Standard;
			
			[XmlAttribute("sizeOrSpeedOptimization")]
			public SizeOrSpeedOptimization sizeOrSpeedOptimization = SizeOrSpeedOptimization.Neither;
			
			[XmlAttribute("surpressFramePointer")]
			public bool surpressFramePointer = false;
			
			[XmlAttribute("enableFiberSaveOptimize")]
			public bool enableFiberSaveOptimize = false;
			
			[XmlAttribute("architecture")]
			public Architecture architecture = Architecture.Mixed;
			
			[XmlAttribute("optimizeForWindowsExecutable")]
			public bool optimizeForWindowsExecutable = false;
			
			[LocalizedProperty("Optimize Level",
			                   Description = "/Od,/O1,/O2,/Ox")]
			public OptimizeLevel OptimizeLevel {
				get {
					return optimizeLevel;
				}
				set {
					optimizeLevel = value;
				}
			}
			
			[DefaultValue(false)]
			[LocalizedProperty("Use Global Optimization",
			                   Description = "/Og")]
			public bool UseGlobalOptimize {
				get {
					return useGlobalOptimize;
				}
				set {
					useGlobalOptimize = value;
				}
			}
			[LocalizedProperty("Inline Functions Expansion",
			                   Description = "/Ob1,/Ob2")]
			public InlineFunctionExpansion InlineFunctionExpansion {
				get {
					return inlineFunctionExpansion;
				}
				set {
					inlineFunctionExpansion = value;
				}
			}
//			[DefaultValue(false)]
//			[LocalizedProperty("",
//			                   Description = "")]
//			public bool ActivateSysInternalFunctions {
//				get {
//					return activateSysInternalFunctions;
//				}
//				set {
//					activateSysInternalFunctions = value;
//				}
//			}
			[LocalizedProperty("Floating Point Consistency",
			                   Description = "/Op")]
			public FloatingPointConsistency FloatingPointConsistency {
				get {
					return floatingPointConsistency;
				}
				set {
					floatingPointConsistency = value;
				}
			}
			[LocalizedProperty("Size Or Speed Optimization",
			                   Description = "/Ot,/Os")]
			public SizeOrSpeedOptimization SizeOrSpeedOptimization {
				get {
					return sizeOrSpeedOptimization;
				}
				set {
					sizeOrSpeedOptimization = value;
				}
			}
			[DefaultValue(false)]
			[LocalizedProperty("Suppress Frame Pointer",
			                   Description = "/Oy")]
			public bool SurpressFramePointer {
				get {
					return surpressFramePointer;
				}
				set {
					surpressFramePointer = value;
				}
			}
			[DefaultValue(false)]
			[LocalizedProperty("Fiber Safety Support",
			                   Description = "/GT")]
			public bool EnableFiberSaveOptimize {
				get {
					return enableFiberSaveOptimize;
				}
				set {
					enableFiberSaveOptimize = value;
				}
			}
			[LocalizedProperty("Optimize for Processor",
			                   Description = "/G3,/G4,/G5,/G6,/G7")]
			public Architecture Architecture {
				get {
					return architecture;
				}
				set {
					architecture = value;
				}
			}
			[DefaultValue(false)]
			[LocalizedProperty("Optimizes for Windows Application",
			                   Description = "/GA")]
			public bool OptimizeForWindowsExecutable {
				get {
					return optimizeForWindowsExecutable;
				}
				set {
					optimizeForWindowsExecutable = value;
				}
			}
			public string GetCommandLineParameters()
			{
				StringBuilder result = new StringBuilder();
				switch (OptimizeLevel) {
					case OptimizeLevel.CompleteOptimize:
						result.Append("/Ox\n");
						break;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
2020国产成人综合网| 粉嫩av一区二区三区粉嫩| 国产人妖乱国产精品人妖| 日韩一区二区高清| 91精品国产福利| 欧美一区二区三区视频免费播放| 欧美午夜电影在线播放| 成年人国产精品| 91美女福利视频| 欧美日韩成人一区二区| 日韩欧美一级片| 久久久久久久国产精品影院| 中文字幕精品综合| 亚洲精选在线视频| 亚洲一区二区偷拍精品| 免费观看一级特黄欧美大片| 久久99精品久久久久婷婷| 国产成人夜色高潮福利影视| 成人av免费在线| 欧美日韩一区二区三区在线| 日韩欧美www| 国产精品美女久久久久aⅴ| 亚洲免费观看高清完整| 免费xxxx性欧美18vr| 久久se这里有精品| 国产999精品久久| 色婷婷狠狠综合| 日韩精品一区二区三区四区视频| 国产视频一区二区在线| 亚洲大片免费看| 国产精品一区二区不卡| 在线亚洲一区观看| 久久这里只有精品6| 亚洲精品高清视频在线观看| 精品一区二区在线免费观看| 色综合天天综合网天天看片| 精品区一区二区| 一区二区三区四区五区视频在线观看| 午夜精品免费在线| 国产999精品久久久久久绿帽| 欧美日韩在线综合| 国产精品国产自产拍高清av | 成人成人成人在线视频| 日本道免费精品一区二区三区| 日韩欧美一卡二卡| 亚洲欧美日韩电影| 国产高清精品网站| 欧美一二三四区在线| 亚洲欧美成aⅴ人在线观看| 久热成人在线视频| 欧美日韩国产欧美日美国产精品| 国产校园另类小说区| 日本女人一区二区三区| 欧美影院一区二区三区| 国产精品视频观看| 国产一区二区三区黄视频| 欧美精品 国产精品| 一区二区三区欧美亚洲| 成人少妇影院yyyy| 久久久久综合网| 国产专区欧美精品| 精品日韩一区二区三区| 免费在线观看不卡| 日韩一区二区高清| 美国毛片一区二区三区| 欧美男男青年gay1069videost| 亚洲免费av网站| 91色九色蝌蚪| 亚洲欧美精品午睡沙发| 99免费精品视频| 成人免费在线视频观看| 99综合影院在线| 日韩美女视频一区| 在线一区二区三区| 亚洲高清一区二区三区| 欧美精品久久天天躁| 青青草91视频| 精品日韩一区二区三区| 国产在线观看免费一区| 久久久久久久久久久电影| 国产成人免费在线视频| 国产精品国产三级国产普通话99| 成人精品视频.| 亚洲人xxxx| 欧美精品99久久久**| 日韩av电影免费观看高清完整版| 欧美一区二区三区四区在线观看 | 国产在线精品免费| 国产欧美视频一区二区| www.日本不卡| 一区二区三区在线视频免费观看| 欧美日韩成人一区二区| 美女视频一区在线观看| 久久综合久久99| 本田岬高潮一区二区三区| 亚洲久本草在线中文字幕| 欧美日韩精品欧美日韩精品一综合| 免费美女久久99| 国产精品亲子伦对白| 欧美日韩久久一区| 久久国内精品视频| 国产精品久久久久影院老司 | 99久久99久久免费精品蜜臀| 亚洲午夜私人影院| 欧美大片在线观看| 成人黄色电影在线 | 欧美激情中文不卡| 欧美性猛交一区二区三区精品| 精品一区二区在线视频| 亚洲欧美福利一区二区| 91.com视频| av在线免费不卡| 久久99精品国产.久久久久久| 亚洲欧美日韩在线不卡| 久久久久久久精| 欧美日本一区二区三区| 成人av午夜影院| 国内久久婷婷综合| 亚洲成人av电影在线| 日本一区二区动态图| 欧美一区二区三区啪啪| 色哟哟精品一区| 福利一区在线观看| 奇米一区二区三区| 一区二区三区**美女毛片| 国产喷白浆一区二区三区| 91精品国产91久久久久久一区二区 | 久久成人精品无人区| 亚洲国产欧美一区二区三区丁香婷| 国产三区在线成人av| 欧美成人猛片aaaaaaa| 欧洲国内综合视频| 99久久99久久久精品齐齐| 国产一区二区三区精品视频| 免费成人在线视频观看| 亚洲第一会所有码转帖| 国产精品白丝在线| 国产亚洲一区二区三区在线观看| 5858s免费视频成人| 欧美性猛交xxxx黑人交| 色婷婷综合久久久久中文一区二区| 国产91精品一区二区麻豆网站| 激情综合五月天| 久久爱www久久做| 久久草av在线| 国产一区二区电影| 国产精品一区二区在线观看不卡| 久久福利视频一区二区| 激情小说亚洲一区| 麻豆成人av在线| 国产一区亚洲一区| 成人免费av资源| 成人福利在线看| 色乱码一区二区三区88| 91丨porny丨在线| 欧美性做爰猛烈叫床潮| 欧美日韩精品三区| 日韩三级.com| 久久精品人人做人人爽人人| 国产三级精品在线| 日韩毛片高清在线播放| 亚洲最新在线观看| 日本麻豆一区二区三区视频| 美国av一区二区| 成人黄色小视频在线观看| 日本大香伊一区二区三区| 欧美日韩中文精品| 精品久久久久一区二区国产| 久久久久久麻豆| 中文字幕一区二区三区视频 | 欧美一区二区三区免费| 久久久久国产精品麻豆| 国产精品视频麻豆| 午夜精品久久久久久久99樱桃| 日产精品久久久久久久性色| 老司机免费视频一区二区三区| 丁香婷婷综合网| 欧美日韩激情一区| 久久精品综合网| 亚洲一区欧美一区| 国产一区二区福利视频| 欧洲亚洲精品在线| 日韩精品中文字幕一区二区三区| 欧美韩日一区二区三区四区| 亚洲成在人线在线播放| 国产成人精品免费在线| 欧美日韩一区中文字幕| 久久久久久97三级| 亚洲午夜免费电影| 国产精品亚洲一区二区三区妖精 | 亚洲国产精品嫩草影院| 久久精品99久久久| 色综合一区二区三区| 精品国产一区二区三区久久影院| 国产精品传媒视频| 伦理电影国产精品| 欧美日韩一级大片网址| 国产精品美女久久久久久久| 精品一区二区三区欧美| 91久久奴性调教|