summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorVolker Jacht <kooky089@gmail.com>2020-10-21 19:28:13 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-22 13:08:52 (GMT)
commit8ad6fabfc5863d44bfbea289640f92d05e43d4c8 (patch)
tree397fc8afb7c7a8476b03c07351554b0d3c734cac /Source/cmLocalVisualStudio7Generator.cxx
parentec3b3d2c2f16397b9a40f79a9783f3d207088b93 (diff)
downloadCMake-8ad6fabfc5863d44bfbea289640f92d05e43d4c8.zip
CMake-8ad6fabfc5863d44bfbea289640f92d05e43d4c8.tar.gz
CMake-8ad6fabfc5863d44bfbea289640f92d05e43d4c8.tar.bz2
VS: Remove flag table entries for Fortran /Z* flags
These were included when the Fortran flag table was first created by commit 10c91ded4f (ENH: add support for Intel Fortran Visual studio IDE, 2008-04-30, v2.8.0~2227), but they map to fields not actually supported by the IDE. Remove their table entries. Instead use just `/debug:minimal` and `/debug:full` to control debug information level in VS Intel Fortran. Let flags like `/Z7` pass through as raw additional options because they have no corresponding IDE property and can be used to complement the supported options. Fixes: #21340
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index fdf8307..d2cdb99 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -275,10 +275,9 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFortranFlagTable[] = {
{ "SuppressStartupBanner", "nologo", "SuppressStartupBanner", "true", 0 },
{ "SourceFileFormat", "fixed", "Use Fixed Format", "fileFormatFixed", 0 },
{ "SourceFileFormat", "free", "Use Free Format", "fileFormatFree", 0 },
- { "DebugInformationFormat", "Zi", "full debug", "debugEnabled", 0 },
{ "DebugInformationFormat", "debug:full", "full debug", "debugEnabled", 0 },
- { "DebugInformationFormat", "Z7", "c7 compat", "debugOldStyleInfo", 0 },
- { "DebugInformationFormat", "Zd", "line numbers", "debugLineInfoOnly", 0 },
+ { "DebugInformationFormat", "debug:minimal", "line numbers",
+ "debugLineInfoOnly", 0 },
{ "Optimization", "Od", "disable optimization", "optimizeDisabled", 0 },
{ "Optimization", "O1", "min space", "optimizeMinSpace", 0 },
{ "Optimization", "O3", "full optimize", "optimizeFull", 0 },