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