Imported Upstream version 2.8.9
[platform/upstream/cmake.git] / Source / cmVS10CLFlagTable.h
1 static cmVS7FlagTable cmVS10CLFlagTable[] =
2 {
3
4   //Enum Properties
5   {"DebugInformationFormat", "Z7",
6    "C7 compatible", "OldStyle", 0},
7   {"DebugInformationFormat", "Zi",
8    "Program Database", "ProgramDatabase", 0},
9   {"DebugInformationFormat", "ZI",
10    "Program Database for Edit And Continue", "EditAndContinue", 0},
11
12   {"WarningLevel", "W0",
13    "Turn Off All Warnings", "TurnOffAllWarnings", 0},
14   {"WarningLevel", "W1",
15    "Level1", "Level1", 0},
16   {"WarningLevel", "W2",
17    "Level2", "Level2", 0},
18   {"WarningLevel", "W3",
19    "Level3", "Level3", 0},
20   {"WarningLevel", "W4",
21    "Level4", "Level4", 0},
22   {"WarningLevel", "Wall",
23    "EnableAllWarnings", "EnableAllWarnings", 0},
24
25   {"Optimization", "Od",
26    "Disabled", "Disabled", 0},
27   {"Optimization", "O1",
28    "Minimize Size", "MinSpace", 0},
29   {"Optimization", "O2",
30    "Maximize Speed", "MaxSpeed", 0},
31   {"Optimization", "Ox",
32    "Full Optimization", "Full", 0},
33
34   {"InlineFunctionExpansion", "",
35    "Default", "Default", 0},
36   {"InlineFunctionExpansion", "Ob0",
37    "Disabled", "Disabled", 0},
38   {"InlineFunctionExpansion", "Ob1",
39    "Only __inline", "OnlyExplicitInline", 0},
40   {"InlineFunctionExpansion", "Ob2",
41    "Any Suitable", "AnySuitable", 0},
42
43   {"FavorSizeOrSpeed", "Os",
44    "Favor small code", "Size", 0},
45   {"FavorSizeOrSpeed", "Ot",
46    "Favor fast code", "Speed", 0},
47   {"FavorSizeOrSpeed", "",
48    "Neither", "Neither", 0},
49
50   {"ExceptionHandling", "EHa",
51    "Yes with SEH Exceptions", "Async", 0},
52   {"ExceptionHandling", "EHsc",
53    "Yes", "Sync", 0},
54   {"ExceptionHandling", "EHs",
55    "Yes with Extern C functions", "SyncCThrow", 0},
56   {"ExceptionHandling", "",
57    "No", "false", 0},
58
59   {"BasicRuntimeChecks", "RTCs",
60    "Stack Frames", "StackFrameRuntimeCheck", 0},
61   {"BasicRuntimeChecks", "RTCu",
62    "Uninitialized variables", "UninitializedLocalUsageCheck", 0},
63   {"BasicRuntimeChecks", "RTC1",
64    "Both (/RTC1, equiv. to /RTCsu)", "EnableFastChecks", 0},
65   {"BasicRuntimeChecks", "",
66    "Default", "Default", 0},
67
68   {"RuntimeLibrary", "MT",
69    "Multi-threaded", "MultiThreaded", 0},
70   {"RuntimeLibrary", "MTd",
71    "Multi-threaded Debug", "MultiThreadedDebug", 0},
72   {"RuntimeLibrary", "MD",
73    "Multi-threaded DLL", "MultiThreadedDLL", 0},
74   {"RuntimeLibrary", "MDd",
75    "Multi-threaded Debug DLL", "MultiThreadedDebugDLL", 0},
76
77   {"StructMemberAlignment", "Zp1",
78    "1 Byte", "1Byte", 0},
79   {"StructMemberAlignment", "Zp2",
80    "2 Bytes", "2Bytes", 0},
81   {"StructMemberAlignment", "Zp4",
82    "4 Byte", "4Bytes", 0},
83   {"StructMemberAlignment", "Zp8",
84    "8 Bytes", "8Bytes", 0},
85   {"StructMemberAlignment", "Zp16",
86    "16 Bytes", "16Bytes", 0},
87   {"StructMemberAlignment", "",
88    "Default", "Default", 0},
89
90   {"EnableEnhancedInstructionSet", "arch:SSE",
91    "Streaming SIMD Extensions (/arch:SSE)", "StreamingSIMDExtensions", 0},
92   {"EnableEnhancedInstructionSet", "arch:SSE2",
93    "Streaming SIMD Extensions 2 (/arch:SSE2)", "StreamingSIMDExtensions2", 0},
94   {"EnableEnhancedInstructionSet", "",
95    "Not Set", "NotSet", 0},
96
97   {"FloatingPointModel", "fp:precise",
98    "Precise", "Precise", 0},
99   {"FloatingPointModel", "fp:strict",
100    "Strict", "Strict", 0},
101   {"FloatingPointModel", "fp:fast",
102    "Fast", "Fast", 0},
103
104   {"PrecompiledHeader", "Yc",
105    "Create", "Create",
106    cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
107   {"PrecompiledHeader", "Yu",
108    "Use", "Use",
109    cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
110   {"PrecompiledHeader", "",
111    "Not Using Precompiled Headers", "NotUsing", 0},
112
113   {"AssemblerOutput", "",
114    "No Listing", "NoListing", 0},
115   {"AssemblerOutput", "FA",
116    "Assembly-Only Listing", "AssemblyCode", 0},
117   {"AssemblerOutput", "FAc",
118    "Assembly With Machine Code", "AssemblyAndMachineCode", 0},
119   {"AssemblerOutput", "FAs",
120    "Assembly With Source Code", "AssemblyAndSourceCode", 0},
121   {"AssemblerOutput", "FAcs",
122    "Assembly, Machine Code and Source", "All", 0},
123
124   {"CallingConvention", "Gd",
125    "__cdecl", "Cdecl", 0},
126   {"CallingConvention", "Gr",
127    "__fastcall", "FastCall", 0},
128   {"CallingConvention", "Gz",
129    "__stdcall", "StdCall", 0},
130
131   {"CompileAs", "",
132    "Default", "Default", 0},
133   {"CompileAs", "TC",
134    "Compile as C Code", "CompileAsC", 0},
135   {"CompileAs", "TP",
136    "Compile as C++ Code", "CompileAsCpp", 0},
137
138   {"ErrorReporting", "errorReport:none",
139    "Do Not Send Report", "None", 0},
140   {"ErrorReporting", "errorReport:prompt",
141    "Prompt Immediately", "Prompt", 0},
142   {"ErrorReporting", "errorReport:queue",
143    "Queue For Next Login", "Queue", 0},
144   {"ErrorReporting", "errorReport:send",
145    "Send Automatically", "Send", 0},
146
147   {"CompileAsManaged", "",
148    "No Common Language RunTime Support", "false", 0},
149   {"CompileAsManaged", "clr",
150    "Common Language RunTime Support", "true", 0},
151   {"CompileAsManaged", "clr:pure",
152    "Pure MSIL Common Language RunTime Support", "Pure", 0},
153   {"CompileAsManaged", "clr:safe",
154    "Safe MSIL Common Language RunTime Support", "Safe", 0},
155   {"CompileAsManaged", "clr:oldSyntax",
156    "Common Language RunTime Support, Old Syntax", "OldSyntax", 0},
157
158
159   //Bool Properties
160   {"SuppressStartupBanner", "nologo-", "", "false", 0},
161   {"SuppressStartupBanner", "nologo", "", "true", 0},
162   {"TreatWarningAsError", "WX-", "", "false", 0},
163   {"TreatWarningAsError", "WX", "", "true", 0},
164   {"IntrinsicFunctions", "Oi", "", "true", 0},
165   {"OmitFramePointers", "Oy-", "", "false", 0},
166   {"OmitFramePointers", "Oy", "", "true", 0},
167   {"EnableFiberSafeOptimizations", "GT", "", "true", 0},
168   {"WholeProgramOptimization", "GL", "", "true", 0},
169   {"UndefineAllPreprocessorDefinitions", "u", "", "true", 0},
170   {"IgnoreStandardIncludePath", "X", "", "true", 0},
171   {"PreprocessToFile", "P", "", "true", 0},
172   {"PreprocessSuppressLineNumbers", "EP", "", "true", 0},
173   {"PreprocessKeepComments", "C", "", "true", 0},
174   {"StringPooling", "GF-", "", "false", 0},
175   {"StringPooling", "GF", "", "true", 0},
176   {"MinimalRebuild", "Gm-", "", "false", 0},
177   {"MinimalRebuild", "Gm", "", "true", 0},
178   {"SmallerTypeCheck", "RTCc", "", "true", 0},
179   {"BufferSecurityCheck", "GS-", "", "false", 0},
180   {"BufferSecurityCheck", "GS", "", "true", 0},
181   {"FunctionLevelLinking", "Gy-", "", "false", 0},
182   {"FunctionLevelLinking", "Gy", "", "true", 0},
183   {"FloatingPointExceptions", "fp:except-", "", "false", 0},
184   {"FloatingPointExceptions", "fp:except", "", "true", 0},
185   {"CreateHotpatchableImage", "hotpatch", "", "true", 0},
186   {"DisableLanguageExtensions", "Za", "", "true", 0},
187   {"TreatWChar_tAsBuiltInType", "Zc:wchar_t-", "", "false", 0},
188   {"TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0},
189   {"ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0},
190   {"ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0},
191   {"RuntimeTypeInfo", "GR-", "", "false", 0},
192   {"RuntimeTypeInfo", "GR", "", "true", 0},
193   {"OpenMPSupport", "openmp-", "", "false", 0},
194   {"OpenMPSupport", "openmp", "", "true", 0},
195   {"ExpandAttributedSource", "Fx", "", "true", 0},
196   {"ShowIncludes", "showIncludes", "", "true", 0},
197   {"EnablePREfast", "analyze-", "", "false", 0},
198   {"EnablePREfast", "analyze", "", "true", 0},
199   {"UseFullPaths", "FC", "", "true", 0},
200   {"OmitDefaultLibName", "Zl", "", "true", 0},
201   {"UseUnicodeForAssemblerListing", "FAu", "", "true", 0},
202
203   //Bool Properties With Argument
204   {"MultiProcessorCompilation", "MP", "", "true",
205    cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
206   {"ProcessorNumber", "MP", "Multi-processor Compilation", "",
207    cmVS7FlagTable::UserValueRequired},
208   {"GenerateXMLDocumentationFiles", "doc", "", "true",
209    cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
210   {"XMLDocumentationFileName", "doc", "Generate XML Documentation Files", "",
211    cmVS7FlagTable::UserValueRequired},
212   {"BrowseInformation", "FR", "", "true",
213    cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
214   {"BrowseInformationFile", "FR", "Enable Browse Information", "",
215    cmVS7FlagTable::UserValueRequired},
216
217   //String List Properties
218   {"AdditionalIncludeDirectories", "I",
219    "Additional Include Directories",
220    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
221   {"AdditionalUsingDirectories", "AI",
222    "Resolve #using References",
223    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
224   {"PreprocessorDefinitions", "D ",
225    "Preprocessor Definitions",
226    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
227   {"UndefinePreprocessorDefinitions", "U",
228    "Undefine Preprocessor Definitions",
229    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
230   {"DisableSpecificWarnings", "wd",
231    "Disable Specific Warnings",
232    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
233   {"ForcedIncludeFiles", "FI",
234    "Forced Include File",
235    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
236   {"ForcedUsingFiles", "FU",
237    "Forced #using File",
238    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
239   {"TreatSpecificWarningsAsErrors", "we",
240    "Treat Specific Warnings As Errors",
241    "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
242
243   //String Properties
244   // Skip [TrackerLogDirectory] - no command line Switch.
245   {"PreprocessOutputPath", "Fi",
246    "Preprocess Output Path",
247    "", cmVS7FlagTable::UserValue},
248   {"PrecompiledHeaderFile", "Yc",
249    "Precompiled Header Name",
250    "", cmVS7FlagTable::UserValueRequired},
251   {"PrecompiledHeaderFile", "Yu",
252    "Precompiled Header Name",
253    "", cmVS7FlagTable::UserValueRequired},
254   {"PrecompiledHeaderOutputFile", "Fp",
255    "Precompiled Header Output File",
256    "", cmVS7FlagTable::UserValue},
257   {"AssemblerListingLocation", "Fa",
258    "ASM List Location",
259    "", cmVS7FlagTable::UserValue},
260   {"ObjectFileName", "Fo",
261    "Object File Name",
262    "", cmVS7FlagTable::UserValue},
263   {"ProgramDataBaseFileName", "Fd",
264    "Program Database File Name",
265    "", cmVS7FlagTable::UserValue},
266   // Skip [XMLDocumentationFileName] - no command line Switch.
267   // Skip [BrowseInformationFile] - no command line Switch.
268   // Skip [AdditionalOptions] - no command line Switch.
269   {0,0,0,0,0}
270 };