summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-29 12:42:33 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-29 12:45:00 (GMT)
commit729f5f01b4a1798ad8e11d3dc4eae664af96bd23 (patch)
treee2dd9ace9d7084b3f9deb77712d2ddd50b412407 /Source/cmLocalVisualStudio7Generator.cxx
parentd29004756fa314119a91821a14eef81a2ffcf40a (diff)
downloadCMake-729f5f01b4a1798ad8e11d3dc4eae664af96bd23.zip
CMake-729f5f01b4a1798ad8e11d3dc4eae664af96bd23.tar.gz
CMake-729f5f01b4a1798ad8e11d3dc4eae664af96bd23.tar.bz2
VS: Map Intel Fortran `/MP` flag for multi-processor compilation (#15990)
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index abae564..2f66517 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -378,6 +378,11 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFortranFlagTable[] =
{"FloatingPointExceptionHandling", "fpe:1", "", "fpe1", 0},
{"FloatingPointExceptionHandling", "fpe:3", "", "fpe3", 0},
+ {"MultiProcessorCompilation", "MP", "", "true",
+ cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},
+ {"ProcessorNumber", "MP", "Multi-processor Compilation", "",
+ cmVS7FlagTable::UserValueRequired},
+
{"ModulePath", "module:", "", "",
cmVS7FlagTable::UserValueRequired},
{"LoopUnrolling", "Qunroll:", "", "",