VS generator: support /diagnostics compiler flag

Adding support for this flag so a user can specify it
via the CMAKE_CXX_FLAGS variable.
This commit is contained in:
Justin Goshi
2017-10-25 12:09:48 -07:00
parent 206354ac4c
commit 82f95c9584

View File

@@ -1,6 +1,10 @@
static cmVS7FlagTable cmVS141CLFlagTable[] = {
// Enum Properties
{ "DiagnosticsFormat", "diagnostics:classic", "Classic", "Classic", 0 },
{ "DiagnosticsFormat", "diagnostics:column", "Column", "Column", 0 },
{ "DiagnosticsFormat", "diagnostics:caret", "Caret", "Caret", 0 },
{ "DebugInformationFormat", "", "None", "None", 0 },
{ "DebugInformationFormat", "Z7", "C7 compatible", "OldStyle", 0 },
{ "DebugInformationFormat", "Zi", "Program Database", "ProgramDatabase", 0 },