summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-08-31 13:54:27 (GMT)
committerBrad King <brad.king@kitware.com>2011-08-31 13:57:26 (GMT)
commit47a0c7542b07b7db8f466621fff28f47beaad7d0 (patch)
treea8b9ad491a69da39cc7cde0b8c5f0a1592f0a97c
parentd6e2a063f0a8f07dad88c0a7974391db5de4d6bd (diff)
downloadCMake-47a0c7542b07b7db8f466621fff28f47beaad7d0.zip
CMake-47a0c7542b07b7db8f466621fff28f47beaad7d0.tar.gz
CMake-47a0c7542b07b7db8f466621fff28f47beaad7d0.tar.bz2
VS: Map Fortran free- and fixed-format flags to IDE options
Add Intel Fortran flags "-free" and "-fixed" to the table so they appear in the IDE correctly.
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index e15dd5c..b6a7c33 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -330,6 +330,8 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFortranFlagTable[] =
{
{"Preprocess", "fpp", "Run Preprocessor on files", "preprocessYes", 0},
{"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},