cmVS10CLFlagTable.h 10.0 KB

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