Introduce "generator expressions" to add_test()
[cmake.git] / Source / cmVS10CLFlagTable.h
blobf1ad64c6fc7111af0a4f336536fa919ecc78f506
1 static cmVS7FlagTable cmVS10CLFlagTable[] =
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},
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},
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},
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},
43 {"FavorSizeOrSpeed", "Os",
44 "Favor small code", "Size", 0},
45 {"FavorSizeOrSpeed", "Ot",
46 "Favor fast code", "Speed", 0},
47 {"FavorSizeOrSpeed", "",
48 "Neither", "Neither", 0},
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},
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},
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},
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},
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},
97 {"FloatingPointModel", "fp:precise",
98 "Precise", "Precise", 0},
99 {"FloatingPointModel", "fp:strict",
100 "Strict", "Strict", 0},
101 {"FloatingPointModel", "fp:fast",
102 "Fast", "Fast", 0},
104 {"PrecompiledHeader", "Yc",
105 "Create", "Create", 0},
106 {"PrecompiledHeader", "Yu",
107 "Use", "Use", 0},
108 {"PrecompiledHeader", "",
109 "Not Using Precompiled Headers", "NotUsing", 0},
111 {"AssemblerOutput", "",
112 "No Listing", "NoListing", 0},
113 {"AssemblerOutput", "FA",
114 "Assembly-Only Listing", "AssemblyCode", 0},
115 {"AssemblerOutput", "FAc",
116 "Assembly With Machine Code", "AssemblyAndMachineCode", 0},
117 {"AssemblerOutput", "FAs",
118 "Assembly With Source Code", "AssemblyAndSourceCode", 0},
119 {"AssemblerOutput", "FAcs",
120 "Assembly, Machine Code and Source", "All", 0},
122 {"CallingConvention", "Gd",
123 "__cdecl", "Cdecl", 0},
124 {"CallingConvention", "Gr",
125 "__fastcall", "FastCall", 0},
126 {"CallingConvention", "Gz",
127 "__stdcall", "StdCall", 0},
129 {"CompileAs", "",
130 "Default", "Default", 0},
131 {"CompileAs", "TC",
132 "Compile as C Code", "CompileAsC", 0},
133 {"CompileAs", "TP",
134 "Compile as C++ Code", "CompileAsCpp", 0},
136 {"ErrorReporting", "errorReport:none",
137 "Do Not Send Report", "None", 0},
138 {"ErrorReporting", "errorReport:prompt",
139 "Prompt Immediatelly", "Prompt", 0},
140 {"ErrorReporting", "errorReport:queue",
141 "Queue For Next Login", "Queue", 0},
142 {"ErrorReporting", "errorReport:send",
143 "Send Automatically", "Send", 0},
145 {"CompileAsManaged", "",
146 "No Common Language RunTime Support", "false", 0},
147 {"CompileAsManaged", "clr",
148 "Common Language RunTime Support", "true", 0},
149 {"CompileAsManaged", "clr:pure",
150 "Pure MSIL Common Language RunTime Support", "Pure", 0},
151 {"CompileAsManaged", "clr:safe",
152 "Safe MSIL Common Language RunTime Support", "Safe", 0},
153 {"CompileAsManaged", "clr:oldSyntax",
154 "Common Language RunTime Support, Old Syntax", "OldSyntax", 0},
157 //Bool Properties
158 {"SuppressStartupBanner", "nologo-", "", "false", 0},
159 {"SuppressStartupBanner", "nologo", "", "true", 0},
160 {"TreatWarningAsError", "WX-", "", "false", 0},
161 {"TreatWarningAsError", "WX", "", "true", 0},
162 {"IntrinsicFunctions", "Oi", "", "true", 0},
163 {"OmitFramePointers", "Oy-", "", "false", 0},
164 {"OmitFramePointers", "Oy", "", "true", 0},
165 {"EnableFiberSafeOptimizations", "GT", "", "true", 0},
166 {"WholeProgramOptimization", "GL", "", "true", 0},
167 {"UndefineAllPreprocessorDefinitions", "u", "", "true", 0},
168 {"IgnoreStandardIncludePath", "X", "", "true", 0},
169 {"PreprocessToFile", "P", "", "true", 0},
170 {"PreprocessSuppressLineNumbers", "EP", "", "true", 0},
171 {"PreprocessKeepComments", "C", "", "true", 0},
172 {"StringPooling", "GF-", "", "false", 0},
173 {"StringPooling", "GF", "", "true", 0},
174 {"MinimalRebuild", "Gm-", "", "false", 0},
175 {"MinimalRebuild", "Gm", "", "true", 0},
176 {"SmallerTypeCheck", "RTCc", "", "true", 0},
177 {"BufferSecurityCheck", "GS-", "", "false", 0},
178 {"BufferSecurityCheck", "GS", "", "true", 0},
179 {"FunctionLevelLinking", "Gy-", "", "false", 0},
180 {"FunctionLevelLinking", "Gy", "", "true", 0},
181 {"FloatingPointExceptions", "fp:except-", "", "false", 0},
182 {"FloatingPointExceptions", "fp:except", "", "true", 0},
183 {"CodeGeneration", "hotpatch", "", "true", 0},
184 {"DisableLanguageExtensions", "Za", "", "true", 0},
185 {"TreatWChar_tAsBuiltInType", "Zc:wchar_t-", "", "false", 0},
186 {"TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0},
187 {"ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0},
188 {"ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0},
189 {"RuntimeTypeInfo", "GR-", "", "false", 0},
190 {"RuntimeTypeInfo", "GR", "", "true", 0},
191 {"OpenMPSupport", "openmp-", "", "false", 0},
192 {"OpenMPSupport", "openmp", "", "true", 0},
193 {"ExpandAttributedSource", "Fx", "", "true", 0},
194 {"ShowIncludes", "showIncludes", "", "true", 0},
195 {"EnablePREfast", "analyze-", "", "false", 0},
196 {"EnablePREfast", "analyze", "", "true", 0},
197 {"UseFullPaths", "FC", "", "true", 0},
198 {"OmitDefaultLibName", "Zl", "", "true", 0},
199 {"UseUnicodeForAssemblerListing", "FAu", "", "true", 0},
201 //Bool Properties With Argument
202 {"MultiProcessorCompilation", "MP", "", "true", cmVS7FlagTable::Continue},
203 {"ProcessorNumber", "MP", "Multi-processor Compilation", "",
204 cmVS7FlagTable::UserValueRequired},
205 {"GenerateXMLDocumentationFiles", "doc", "", "true",
206 cmVS7FlagTable::Continue},
207 {"XMLDocumentationFileName", "doc", "Generate XML Documentation Files", "",
208 cmVS7FlagTable::UserValueRequired},
209 {"BrowseInformation", "FR", "", "true", cmVS7FlagTable::Continue},
210 {"BrowseInformationFile", "FR", "Enable Browse Information", "",
211 cmVS7FlagTable::UserValueRequired},
213 //String List Properties
214 {"AdditionalIncludeDirectories", "I",
215 "Additional Include Directories",
216 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
217 {"AdditionalUsingDirectories", "AI",
218 "Resolve #using References",
219 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
220 {"PreprocessorDefinitions", "D ",
221 "Preprocessor Definitions",
222 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
223 {"UndefinePreprocessorDefinitions", "U",
224 "Undefine Preprocessor Definitions",
225 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
226 {"DisableSpecificWarnings", "wd",
227 "Disable Specific Warnings",
228 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
229 {"ForcedIncludeFiles", "FI",
230 "Forced Include File",
231 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
232 {"ForcedUsingFiles", "FU",
233 "Forced #using File",
234 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
235 {"TreatSpecificWarningsAsErrors", "we",
236 "Treat Specific Warnings As Errors",
237 "", cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable},
238 {0,0,0,0,0}