Skip to content

Instantly share code, notes, and snippets.

@donny-dont
Created October 7, 2016 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donny-dont/f7c5b7edd976a218b39f6a9117d30d98 to your computer and use it in GitHub Desktop.
Save donny-dont/f7c5b7edd976a218b39f6a9117d30d98 to your computer and use it in GitHub Desktop.
MS Build 2 JSON
C:\Python27\python.exe Source\cmConvertMSBuildXMLToJSON.py ^
--toolchain v140 ^
--output Modules\Platform\MSBuild ^
"C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\1033\cl.xml" ^
"C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\1033\lib.xml" ^
"C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\masm.xml" ^
"C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\1033\rc.xml" ^
"C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\1033\link.xml"
[
{"name": "DebugInformationFormat", "switch": "", "comment": "None", "value": "None", "flags": 0},
{"name": "DebugInformationFormat", "switch": "Z7", "comment": "C7 compatible", "value": "OldStyle", "flags": 0},
{"name": "DebugInformationFormat", "switch": "Zi", "comment": "Program Database", "value": "ProgramDatabase", "flags": 0},
{"name": "DebugInformationFormat", "switch": "ZI", "comment": "Program Database for Edit And Continue", "value": "EditAndContinue", "flags": 0},
{"name": "CompileAsManaged", "switch": "", "comment": "No Common Language RunTime Support", "value": "false", "flags": 0},
{"name": "CompileAsManaged", "switch": "clr", "comment": "Common Language RunTime Support", "value": "true", "flags": 0},
{"name": "CompileAsManaged", "switch": "clr:pure", "comment": "Pure MSIL Common Language RunTime Support", "value": "Pure", "flags": 0},
{"name": "CompileAsManaged", "switch": "clr:safe", "comment": "Safe MSIL Common Language RunTime Support", "value": "Safe", "flags": 0},
{"name": "WarningLevel", "switch": "W0", "comment": "Turn Off All Warnings", "value": "TurnOffAllWarnings", "flags": 0},
{"name": "WarningLevel", "switch": "W1", "comment": "Level1", "value": "Level1", "flags": 0},
{"name": "WarningLevel", "switch": "W2", "comment": "Level2", "value": "Level2", "flags": 0},
{"name": "WarningLevel", "switch": "W3", "comment": "Level3", "value": "Level3", "flags": 0},
{"name": "WarningLevel", "switch": "W4", "comment": "Level4", "value": "Level4", "flags": 0},
{"name": "WarningLevel", "switch": "Wall", "comment": "EnableAllWarnings", "value": "EnableAllWarnings", "flags": 0},
{"name": "Optimization", "switch": "", "comment": "Custom", "value": "Custom", "flags": 0},
{"name": "Optimization", "switch": "Od", "comment": "Disabled", "value": "Disabled", "flags": 0},
{"name": "Optimization", "switch": "O1", "comment": "Minimize Size", "value": "MinSpace", "flags": 0},
{"name": "Optimization", "switch": "O2", "comment": "Maximize Speed", "value": "MaxSpeed", "flags": 0},
{"name": "Optimization", "switch": "Ox", "comment": "Full Optimization", "value": "Full", "flags": 0},
{"name": "InlineFunctionExpansion", "switch": "", "comment": "Default", "value": "Default", "flags": 0},
{"name": "InlineFunctionExpansion", "switch": "Ob0", "comment": "Disabled", "value": "Disabled", "flags": 0},
{"name": "InlineFunctionExpansion", "switch": "Ob1", "comment": "Only __inline", "value": "OnlyExplicitInline", "flags": 0},
{"name": "InlineFunctionExpansion", "switch": "Ob2", "comment": "Any Suitable", "value": "AnySuitable", "flags": 0},
{"name": "FavorSizeOrSpeed", "switch": "Os", "comment": "Favor small code", "value": "Size", "flags": 0},
{"name": "FavorSizeOrSpeed", "switch": "Ot", "comment": "Favor fast code", "value": "Speed", "flags": 0},
{"name": "FavorSizeOrSpeed", "switch": "", "comment": "Neither", "value": "Neither", "flags": 0},
{"name": "ExceptionHandling", "switch": "EHa", "comment": "Yes with SEH Exceptions", "value": "Async", "flags": 0},
{"name": "ExceptionHandling", "switch": "EHsc", "comment": "Yes", "value": "Sync", "flags": 0},
{"name": "ExceptionHandling", "switch": "EHs", "comment": "Yes with Extern C functions", "value": "SyncCThrow", "flags": 0},
{"name": "ExceptionHandling", "switch": "", "comment": "No", "value": "false", "flags": 0},
{"name": "BasicRuntimeChecks", "switch": "RTCs", "comment": "Stack Frames", "value": "StackFrameRuntimeCheck", "flags": 0},
{"name": "BasicRuntimeChecks", "switch": "RTCu", "comment": "Uninitialized variables", "value": "UninitializedLocalUsageCheck", "flags": 0},
{"name": "BasicRuntimeChecks", "switch": "RTC1", "comment": "Both (/RTC1, equiv. to /RTCsu)", "value": "EnableFastChecks", "flags": 0},
{"name": "BasicRuntimeChecks", "switch": "", "comment": "Default", "value": "Default", "flags": 0},
{"name": "RuntimeLibrary", "switch": "MT", "comment": "Multi-threaded", "value": "MultiThreaded", "flags": 0},
{"name": "RuntimeLibrary", "switch": "MTd", "comment": "Multi-threaded Debug", "value": "MultiThreadedDebug", "flags": 0},
{"name": "RuntimeLibrary", "switch": "MD", "comment": "Multi-threaded DLL", "value": "MultiThreadedDLL", "flags": 0},
{"name": "RuntimeLibrary", "switch": "MDd", "comment": "Multi-threaded Debug DLL", "value": "MultiThreadedDebugDLL", "flags": 0},
{"name": "StructMemberAlignment", "switch": "Zp1", "comment": "1 Byte", "value": "1Byte", "flags": 0},
{"name": "StructMemberAlignment", "switch": "Zp2", "comment": "2 Bytes", "value": "2Bytes", "flags": 0},
{"name": "StructMemberAlignment", "switch": "Zp4", "comment": "4 Byte", "value": "4Bytes", "flags": 0},
{"name": "StructMemberAlignment", "switch": "Zp8", "comment": "8 Bytes", "value": "8Bytes", "flags": 0},
{"name": "StructMemberAlignment", "switch": "Zp16", "comment": "16 Bytes", "value": "16Bytes", "flags": 0},
{"name": "StructMemberAlignment", "switch": "", "comment": "Default", "value": "Default", "flags": 0},
{"name": "BufferSecurityCheck", "switch": "GS-", "comment": "Disable Security Check", "value": "false", "flags": 0},
{"name": "BufferSecurityCheck", "switch": "GS", "comment": "Enable Security Check", "value": "true", "flags": 0},
{"name": "ControlFlowGuard", "switch": "guard:cf", "comment": "Yes", "value": "Guard", "flags": 0},
{"name": "ControlFlowGuard", "switch": "", "comment": "No", "value": "false", "flags": 0},
{"name": "EnableEnhancedInstructionSet", "switch": "arch:SSE", "comment": "Streaming SIMD Extensions", "value": "StreamingSIMDExtensions", "flags": 0},
{"name": "EnableEnhancedInstructionSet", "switch": "arch:SSE2", "comment": "Streaming SIMD Extensions 2", "value": "StreamingSIMDExtensions2", "flags": 0},
{"name": "EnableEnhancedInstructionSet", "switch": "arch:AVX", "comment": "Advanced Vector Extensions", "value": "AdvancedVectorExtensions", "flags": 0},
{"name": "EnableEnhancedInstructionSet", "switch": "arch:AVX2", "comment": "Advanced Vector Extensions 2", "value": "AdvancedVectorExtensions2", "flags": 0},
{"name": "EnableEnhancedInstructionSet", "switch": "arch:IA32", "comment": "No Enhanced Instructions", "value": "NoExtensions", "flags": 0},
{"name": "EnableEnhancedInstructionSet", "switch": "", "comment": "Not Set", "value": "NotSet", "flags": 0},
{"name": "FloatingPointModel", "switch": "fp:precise", "comment": "Precise", "value": "Precise", "flags": 0},
{"name": "FloatingPointModel", "switch": "fp:strict", "comment": "Strict", "value": "Strict", "flags": 0},
{"name": "FloatingPointModel", "switch": "fp:fast", "comment": "Fast", "value": "Fast", "flags": 0},
{"name": "PrecompiledHeader", "switch": "Yc", "comment": "Create", "value": "Create", "flags": 11},
{"name": "PrecompiledHeaderFile", "switch": "Yc", "comment": "", "value": "Create", "flags": 5},
{"name": "PrecompiledHeader", "switch": "Yu", "comment": "Use", "value": "Use", "flags": 11},
{"name": "PrecompiledHeaderFile", "switch": "Yu", "comment": "", "value": "Use", "flags": 5},
{"name": "PrecompiledHeader", "switch": "", "comment": "Not Using Precompiled Headers", "value": "NotUsing", "flags": 0},
{"name": "AssemblerOutput", "switch": "", "comment": "No Listing", "value": "NoListing", "flags": 0},
{"name": "AssemblerOutput", "switch": "FA", "comment": "Assembly-Only Listing", "value": "AssemblyCode", "flags": 0},
{"name": "AssemblerOutput", "switch": "FAc", "comment": "Assembly With Machine Code", "value": "AssemblyAndMachineCode", "flags": 0},
{"name": "AssemblerOutput", "switch": "FAs", "comment": "Assembly With Source Code", "value": "AssemblyAndSourceCode", "flags": 0},
{"name": "AssemblerOutput", "switch": "FAcs", "comment": "Assembly, Machine Code and Source", "value": "All", "flags": 0},
{"name": "CallingConvention", "switch": "Gd", "comment": "__cdecl", "value": "Cdecl", "flags": 0},
{"name": "CallingConvention", "switch": "Gr", "comment": "__fastcall", "value": "FastCall", "flags": 0},
{"name": "CallingConvention", "switch": "Gz", "comment": "__stdcall", "value": "StdCall", "flags": 0},
{"name": "CallingConvention", "switch": "Gv", "comment": "__vectorcall", "value": "VectorCall", "flags": 0},
{"name": "CompileAs", "switch": "", "comment": "Default", "value": "Default", "flags": 0},
{"name": "CompileAs", "switch": "TC", "comment": "Compile as C Code", "value": "CompileAsC", "flags": 0},
{"name": "CompileAs", "switch": "TP", "comment": "Compile as C++ Code", "value": "CompileAsCpp", "flags": 0},
{"name": "ErrorReporting", "switch": "errorReport:none", "comment": "Do Not Send Report", "value": "None", "flags": 0},
{"name": "ErrorReporting", "switch": "errorReport:prompt", "comment": "Prompt Immediately", "value": "Prompt", "flags": 0},
{"name": "ErrorReporting", "switch": "errorReport:queue", "comment": "Queue For Next Login", "value": "Queue", "flags": 0},
{"name": "ErrorReporting", "switch": "errorReport:send", "comment": "Send Automatically", "value": "Send", "flags": 0},
{"name": "CompileAsWinRT", "switch": "ZW", "comment": "Consume Windows Runtime Extension", "value": "true", "flags": 0},
{"name": "WinRTNoStdLib", "switch": "ZW:nostdlib", "comment": "No Standard WinRT Libraries", "value": "true", "flags": 0},
{"name": "SuppressStartupBanner", "switch": "nologo", "comment": "Suppress Startup Banner", "value": "true", "flags": 0},
{"name": "TreatWarningAsError", "switch": "WX", "comment": "Treat Warnings As Errors", "value": "true", "flags": 0},
{"name": "TreatWarningAsError", "switch": "WX-", "comment": "Treat Warnings As Errors", "value": "false", "flags": 0},
{"name": "SDLCheck", "switch": "sdl", "comment": "SDL checks", "value": "true", "flags": 0},
{"name": "SDLCheck", "switch": "sdl-", "comment": "SDL checks", "value": "false", "flags": 0},
{"name": "MultiProcessorCompilation", "switch": "MP", "comment": "Multi-processor Compilation", "value": "true", "flags": 11},
{"name": "ProcessorNumber", "switch": "MP", "comment": "", "value": "true", "flags": 5},
{"name": "IntrinsicFunctions", "switch": "Oi", "comment": "Enable Intrinsic Functions", "value": "true", "flags": 0},
{"name": "OmitFramePointers", "switch": "Oy", "comment": "Omit Frame Pointers", "value": "true", "flags": 0},
{"name": "OmitFramePointers", "switch": "Oy-", "comment": "Omit Frame Pointers", "value": "false", "flags": 0},
{"name": "EnableFiberSafeOptimizations", "switch": "GT", "comment": "Enable Fiber-Safe Optimizations", "value": "true", "flags": 0},
{"name": "WholeProgramOptimization", "switch": "GL", "comment": "Whole Program Optimization", "value": "true", "flags": 0},
{"name": "UndefineAllPreprocessorDefinitions", "switch": "u", "comment": "Undefine All Preprocessor Definitions", "value": "true", "flags": 0},
{"name": "IgnoreStandardIncludePath", "switch": "X", "comment": "Ignore Standard Include Paths", "value": "true", "flags": 0},
{"name": "PreprocessToFile", "switch": "P", "comment": "Preprocess to a File", "value": "true", "flags": 0},
{"name": "PreprocessSuppressLineNumbers", "switch": "EP", "comment": "Preprocess Suppress Line Numbers", "value": "true", "flags": 0},
{"name": "PreprocessKeepComments", "switch": "C", "comment": "Keep Comments", "value": "true", "flags": 0},
{"name": "StringPooling", "switch": "GF", "comment": "Enable String Pooling", "value": "true", "flags": 0},
{"name": "StringPooling", "switch": "GF-", "comment": "Enable String Pooling", "value": "false", "flags": 0},
{"name": "MinimalRebuild", "switch": "Gm", "comment": "Enable Minimal Rebuild", "value": "true", "flags": 0},
{"name": "MinimalRebuild", "switch": "Gm-", "comment": "Enable Minimal Rebuild", "value": "false", "flags": 0},
{"name": "SmallerTypeCheck", "switch": "RTCc", "comment": "Smaller Type Check", "value": "true", "flags": 0},
{"name": "FunctionLevelLinking", "switch": "Gy", "comment": "Enable Function-Level Linking", "value": "true", "flags": 0},
{"name": "FunctionLevelLinking", "switch": "Gy-", "comment": "Enable Function-Level Linking", "value": "false", "flags": 0},
{"name": "EnableParallelCodeGeneration", "switch": "Qpar", "comment": "Enable Parallel Code Generation", "value": "true", "flags": 0},
{"name": "EnableParallelCodeGeneration", "switch": "Qpar-", "comment": "Enable Parallel Code Generation", "value": "false", "flags": 0},
{"name": "FloatingPointExceptions", "switch": "fp:except", "comment": "Enable Floating Point Exceptions", "value": "true", "flags": 0},
{"name": "FloatingPointExceptions", "switch": "fp:except-", "comment": "Enable Floating Point Exceptions", "value": "false", "flags": 0},
{"name": "CreateHotpatchableImage", "switch": "hotpatch", "comment": "Create Hotpatchable Image", "value": "true", "flags": 0},
{"name": "DisableLanguageExtensions", "switch": "Za", "comment": "Disable Language Extensions", "value": "true", "flags": 0},
{"name": "TreatWChar_tAsBuiltInType", "switch": "Zc:wchar_t", "comment": "Treat WChar_t As Built in Type", "value": "true", "flags": 0},
{"name": "TreatWChar_tAsBuiltInType", "switch": "Zc:wchar_t-", "comment": "Treat WChar_t As Built in Type", "value": "false", "flags": 0},
{"name": "ForceConformanceInForLoopScope", "switch": "Zc:forScope", "comment": "Force Conformance in For Loop Scope", "value": "true", "flags": 0},
{"name": "ForceConformanceInForLoopScope", "switch": "Zc:forScope-", "comment": "Force Conformance in For Loop Scope", "value": "false", "flags": 0},
{"name": "RemoveUnreferencedCodeData", "switch": "Zc:inline", "comment": "Remove unreferenced code and data", "value": "true", "flags": 0},
{"name": "EnforceTypeConversionRules", "switch": "Zc:rvalueCast", "comment": "Enforce type conversion rules", "value": "true", "flags": 0},
{"name": "EnforceTypeConversionRules", "switch": "Zc:rvalueCast-", "comment": "Enforce type conversion rules", "value": "false", "flags": 0},
{"name": "RuntimeTypeInfo", "switch": "GR", "comment": "Enable Run-Time Type Information", "value": "true", "flags": 0},
{"name": "RuntimeTypeInfo", "switch": "GR-", "comment": "Enable Run-Time Type Information", "value": "false", "flags": 0},
{"name": "OpenMPSupport", "switch": "openmp", "comment": "Open MP Support", "value": "true", "flags": 0},
{"name": "OpenMPSupport", "switch": "openmp-", "comment": "Open MP Support", "value": "false", "flags": 0},
{"name": "ExpandAttributedSource", "switch": "Fx", "comment": "Expand Attributed Source", "value": "true", "flags": 0},
{"name": "UseUnicodeForAssemblerListing", "switch": "FAu", "comment": "Use Unicode For Assembler Listing", "value": "true", "flags": 0},
{"name": "GenerateXMLDocumentationFiles", "switch": "doc", "comment": "Generate XML Documentation Files", "value": "true", "flags": 11},
{"name": "XMLDocumentationFileName", "switch": "doc", "comment": "", "value": "true", "flags": 5},
{"name": "BrowseInformation", "switch": "FR", "comment": "Enable Browse Information", "value": "true", "flags": 11},
{"name": "BrowseInformationFile", "switch": "FR", "comment": "", "value": "true", "flags": 5},
{"name": "ShowIncludes", "switch": "showIncludes", "comment": "Show Includes", "value": "true", "flags": 0},
{"name": "EnablePREfast", "switch": "analyze", "comment": "Enable Code Analysis", "value": "true", "flags": 0},
{"name": "EnablePREfast", "switch": "analyze-", "comment": "Enable Code Analysis", "value": "false", "flags": 0},
{"name": "UseFullPaths", "switch": "FC", "comment": "Use Full Paths", "value": "true", "flags": 0},
{"name": "OmitDefaultLibName", "switch": "Zl", "comment": "Omit Default Library Name", "value": "true", "flags": 0},
{"name": "BuildingInIde", "switch": "", "comment": "", "value": "true", "flags": 0},
{"name": "AdditionalIncludeDirectories", "switch": "I", "comment": "Additional Include Directories", "value": "", "flags": 17},
{"name": "AdditionalUsingDirectories", "switch": "AI", "comment": "Additional #using Directories", "value": "", "flags": 17},
{"name": "PreprocessorDefinitions", "switch": "D ", "comment": "Preprocessor Definitions", "value": "", "flags": 17},
{"name": "UndefinePreprocessorDefinitions", "switch": "U", "comment": "Undefine Preprocessor Definitions", "value": "", "flags": 17},
{"name": "DisableSpecificWarnings", "switch": "wd", "comment": "Disable Specific Warnings", "value": "", "flags": 17},
{"name": "ForcedIncludeFiles", "switch": "FI", "comment": "Forced Include File", "value": "", "flags": 17},
{"name": "ForcedUsingFiles", "switch": "FU", "comment": "Forced #using File", "value": "", "flags": 17},
{"name": "PREfastAdditionalOptions", "switch": "analyze:", "comment": "Additional Code Analysis Native options", "value": "", "flags": 17},
{"name": "PREfastAdditionalPlugins", "switch": "analyze:plugin", "comment": "Additional Code Analysis Native plugins", "value": "", "flags": 17},
{"name": "TreatSpecificWarningsAsErrors", "switch": "we", "comment": "Treat Specific Warnings As Errors", "value": "", "flags": 17},
{"name": "WarningVersion", "switch": "Wv:", "comment": "Warning Version", "value": "", "flags": 1},
{"name": "PreprocessOutputPath", "switch": "Fi", "comment": "Preprocess Output Path", "value": "", "flags": 1},
{"name": "PrecompiledHeaderOutputFile", "switch": "Fp", "comment": "Precompiled Header Output File", "value": "", "flags": 1},
{"name": "AssemblerListingLocation", "switch": "Fa", "comment": "ASM List Location", "value": "", "flags": 1},
{"name": "ObjectFileName", "switch": "Fo", "comment": "Object File Name", "value": "", "flags": 1},
{"name": "ProgramDataBaseFileName", "switch": "Fd", "comment": "Program Database File Name", "value": "", "flags": 1},
{"name": "PREfastLog", "switch": "analyze:log ", "comment": "Code Analysis Log", "value": "", "flags": 32}
]
[
{"name": "ErrorReporting", "switch": "ERRORREPORT:PROMPT", "comment": "PromptImmediately", "value": "PromptImmediately", "flags": 0},
{"name": "ErrorReporting", "switch": "ERRORREPORT:QUEUE", "comment": "Queue For Next Login", "value": "QueueForNextLogin", "flags": 0},
{"name": "ErrorReporting", "switch": "ERRORREPORT:SEND", "comment": "Send Error Report", "value": "SendErrorReport", "flags": 0},
{"name": "ErrorReporting", "switch": "ERRORREPORT:NONE", "comment": "No Error Report", "value": "NoErrorReport", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:ARM", "comment": "MachineARM", "value": "MachineARM", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:EBC", "comment": "MachineEBC", "value": "MachineEBC", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:IA64", "comment": "MachineIA64", "value": "MachineIA64", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:MIPS", "comment": "MachineMIPS", "value": "MachineMIPS", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:MIPS16", "comment": "MachineMIPS16", "value": "MachineMIPS16", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:MIPSFPU", "comment": "MachineMIPSFPU", "value": "MachineMIPSFPU", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:MIPSFPU16", "comment": "MachineMIPSFPU16", "value": "MachineMIPSFPU16", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:SH4", "comment": "MachineSH4", "value": "MachineSH4", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:THUMB", "comment": "MachineTHUMB", "value": "MachineTHUMB", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:X64", "comment": "MachineX64", "value": "MachineX64", "flags": 0},
{"name": "TargetMachine", "switch": "MACHINE:X86", "comment": "MachineX86", "value": "MachineX86", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:CONSOLE", "comment": "Console", "value": "Console", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:WINDOWS", "comment": "Windows", "value": "Windows", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:NATIVE", "comment": "Native", "value": "Native", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:EFI_APPLICATION", "comment": "EFI Application", "value": "EFI Application", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER", "comment": "EFI Boot Service Driver", "value": "EFI Boot Service Driver", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:EFI_ROM", "comment": "EFI ROM", "value": "EFI ROM", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:EFI_RUNTIME_DRIVER", "comment": "EFI Runtime", "value": "EFI Runtime", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:WINDOWSCE", "comment": "WindowsCE", "value": "WindowsCE", "flags": 0},
{"name": "SubSystem", "switch": "SUBSYSTEM:POSIX", "comment": "POSIX", "value": "POSIX", "flags": 0},
{"name": "SuppressStartupBanner", "switch": "NOLOGO", "comment": "Suppress Startup Banner", "value": "true", "flags": 0},
{"name": "IgnoreAllDefaultLibraries", "switch": "NODEFAULTLIB", "comment": "Ignore All Default Libraries", "value": "true", "flags": 0},
{"name": "UseUnicodeResponseFiles", "switch": "", "comment": "Use Unicode Response Files", "value": "true", "flags": 0},
{"name": "LinkLibraryDependencies", "switch": "", "comment": "Link Library Dependencies", "value": "true", "flags": 0},
{"name": "TreatLibWarningAsErrors", "switch": "WX", "comment": "Treat Lib Warning As Errors", "value": "true", "flags": 0},
{"name": "TreatLibWarningAsErrors", "switch": "WX:NO", "comment": "Treat Lib Warning As Errors", "value": "false", "flags": 0},
{"name": "Verbose", "switch": "VERBOSE", "comment": "Verbose", "value": "true", "flags": 0},
{"name": "LinkTimeCodeGeneration", "switch": "LTCG", "comment": "Link Time Code Generation", "value": "true", "flags": 0},
{"name": "AdditionalLibraryDirectories", "switch": "LIBPATH:", "comment": "Additional Library Directories", "value": "", "flags": 17},
{"name": "IgnoreSpecificDefaultLibraries", "switch": "NODEFAULTLIB:", "comment": "Ignore Specific Default Libraries", "value": "", "flags": 17},
{"name": "ExportNamedFunctions", "switch": "EXPORT:", "comment": "Export Named Functions", "value": "", "flags": 17},
{"name": "RemoveObjects", "switch": "REMOVE:", "comment": "Remove Objects", "value": "", "flags": 17},
{"name": "OutputFile", "switch": "OUT", "comment": "Output File", "value": "", "flags": 1},
{"name": "ModuleDefinitionFile", "switch": "DEF", "comment": "Module Definition File Name", "value": "", "flags": 1},
{"name": "ForceSymbolReferences", "switch": "INCLUDE", "comment": "Force Symbol References", "value": "", "flags": 1},
{"name": "DisplayLibrary", "switch": "LIST", "comment": "Display Library to standard output", "value": "", "flags": 1},
{"name": "Name", "switch": "NAME:", "comment": "Name", "value": "", "flags": 1}
]
[
{"name": "PreserveIdentifierCase", "switch": "", "comment": "Default", "value": "0", "flags": 0},
{"name": "PreserveIdentifierCase", "switch": "/Cp", "comment": "Preserves Identifier Case (/Cp)", "value": "1", "flags": 0},
{"name": "PreserveIdentifierCase", "switch": "/Cu", "comment": "Maps all identifiers to upper case. (/Cu)", "value": "2", "flags": 0},
{"name": "PreserveIdentifierCase", "switch": "/Cx", "comment": "Preserves case in public and extern symbols. (/Cx)", "value": "3", "flags": 0},
{"name": "WarningLevel", "switch": "/W0", "comment": "Warning Level 0 (/W0)", "value": "0", "flags": 0},
{"name": "WarningLevel", "switch": "/W1", "comment": "Warning Level 1 (/W1)", "value": "1", "flags": 0},
{"name": "WarningLevel", "switch": "/W2", "comment": "Warning Level 2 (/W2)", "value": "2", "flags": 0},
{"name": "WarningLevel", "switch": "/W3", "comment": "Warning Level 3 (/W3)", "value": "3", "flags": 0},
{"name": "PackAlignmentBoundary", "switch": "", "comment": "Default", "value": "0", "flags": 0},
{"name": "PackAlignmentBoundary", "switch": "/Zp1", "comment": "One Byte Boundary (/Zp1)", "value": "1", "flags": 0},
{"name": "PackAlignmentBoundary", "switch": "/Zp2", "comment": "Two Byte Boundary (/Zp2)", "value": "2", "flags": 0},
{"name": "PackAlignmentBoundary", "switch": "/Zp4", "comment": "Four Byte Boundary (/Zp4)", "value": "3", "flags": 0},
{"name": "PackAlignmentBoundary", "switch": "/Zp8", "comment": "Eight Byte Boundary (/Zp8)", "value": "4", "flags": 0},
{"name": "PackAlignmentBoundary", "switch": "/Zp16", "comment": "Sixteen Byte Boundary (/Zp16)", "value": "5", "flags": 0},
{"name": "CallingConvention", "switch": "", "comment": "Default", "value": "0", "flags": 0},
{"name": "CallingConvention", "switch": "/Gd", "comment": "Use C-style Calling Convention (/Gd)", "value": "1", "flags": 0},
{"name": "CallingConvention", "switch": "/Gz", "comment": "Use stdcall Calling Convention (/Gz)", "value": "2", "flags": 0},
{"name": "CallingConvention", "switch": "/Gc", "comment": "Use Pascal Calling Convention (/Gc)", "value": "3", "flags": 0},
{"name": "ErrorReporting", "switch": "/errorReport:prompt", "comment": "Prompt to send report immediately (/errorReport:prompt)", "value": "0", "flags": 0},
{"name": "ErrorReporting", "switch": "/errorReport:queue", "comment": "Prompt to send report at the next logon (/errorReport:queue)", "value": "1", "flags": 0},
{"name": "ErrorReporting", "switch": "/errorReport:send", "comment": "Automatically send report (/errorReport:send)", "value": "2", "flags": 0},
{"name": "ErrorReporting", "switch": "/errorReport:none", "comment": "Do not send report (/errorReport:none)", "value": "3", "flags": 0},
{"name": "NoLogo", "switch": "/nologo", "comment": "Suppress Startup Banner", "value": "true", "flags": 0},
{"name": "GeneratePreprocessedSourceListing", "switch": "/EP", "comment": "Generate Preprocessed Source Listing", "value": "true", "flags": 0},
{"name": "ListAllAvailableInformation", "switch": "/Sa", "comment": "List All Available Information", "value": "true", "flags": 0},
{"name": "UseSafeExceptionHandlers", "switch": "/safeseh", "comment": "Use Safe Exception Handlers", "value": "true", "flags": 0},
{"name": "AddFirstPassListing", "switch": "/Sf", "comment": "Add First Pass Listing", "value": "true", "flags": 0},
{"name": "EnableAssemblyGeneratedCodeListing", "switch": "/Sg", "comment": "Enable Assembly Generated Code Listing", "value": "true", "flags": 0},
{"name": "DisableSymbolTable", "switch": "/Sn", "comment": "Disable Symbol Table", "value": "true", "flags": 0},
{"name": "EnableFalseConditionalsInListing", "switch": "/Sx", "comment": "Enable False Conditionals In Listing", "value": "true", "flags": 0},
{"name": "TreatWarningsAsErrors", "switch": "/WX", "comment": "Treat Warnings As Errors", "value": "true", "flags": 0},
{"name": "MakeAllSymbolsPublic", "switch": "/Zf", "comment": "Make All Symbols Public", "value": "true", "flags": 0},
{"name": "GenerateDebugInformation", "switch": "/Zi", "comment": "Generate Debug Information", "value": "true", "flags": 0},
{"name": "EnableMASM51Compatibility", "switch": "/Zm", "comment": "Enable MASM 5.1 Compatibility", "value": "true", "flags": 0},
{"name": "PerformSyntaxCheckOnly", "switch": "/Zs", "comment": "Perform Syntax Check Only", "value": "true", "flags": 0},
{"name": "PreprocessorDefinitions", "switch": "/D\"[value]\"", "comment": "Preprocessor Definitions", "value": "", "flags": 17},
{"name": "IncludePaths", "switch": "/I \"[value]\"", "comment": "Include Paths", "value": "", "flags": 17},
{"name": "BrowseFile", "switch": "/FR\"[value]\"", "comment": "Generate Browse Information File", "value": "", "flags": 17},
{"name": "ObjectFileName", "switch": "/Fo\"[value]\"", "comment": "Object File Name", "value": "", "flags": 1},
{"name": "AssembledCodeListingFile", "switch": "/Fl\"[value]\"", "comment": "Assembled Code Listing File", "value": "", "flags": 1}
]
[
{"name": "IgnoreStandardIncludePath", "switch": "X", "comment": "Ignore Standard Include Paths", "value": "true", "flags": 0},
{"name": "ShowProgress", "switch": "v", "comment": "Show Progress", "value": "true", "flags": 0},
{"name": "SuppressStartupBanner", "switch": "nologo", "comment": "Suppress Startup Banner", "value": "true", "flags": 0},
{"name": "NullTerminateStrings", "switch": "n", "comment": "Null Terminate Strings", "value": "true", "flags": 0},
{"name": "PreprocessorDefinitions", "switch": "D ", "comment": "Preprocessor Definitions", "value": "", "flags": 17},
{"name": "UndefinePreprocessorDefinitions", "switch": "u", "comment": "Undefine Preprocessor Definitions", "value": "", "flags": 17},
{"name": "AdditionalIncludeDirectories", "switch": "I", "comment": "Additional Include Directories", "value": "", "flags": 17},
{"name": "ResourceOutputFileName", "switch": "fo", "comment": "Resource File Name", "value": "", "flags": 1}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment