diff options
author | Pavel Liavonau <liavonlida@gmail.com> | 2020-01-13 12:18:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-13 16:14:00 (GMT) |
commit | a3c827b2eafb67d28558cc5ffe3f3dc239a12196 (patch) | |
tree | 12521efeaf3c785db53b1783084aa338c67759f3 | |
parent | 512ab500f06d6c645985cc8014c5e6291b9a059f (diff) | |
download | CMake-a3c827b2eafb67d28558cc5ffe3f3dc239a12196.zip CMake-a3c827b2eafb67d28558cc5ffe3f3dc239a12196.tar.gz CMake-a3c827b2eafb67d28558cc5ffe3f3dc239a12196.tar.bz2 |
VS: Add Fortran link flag table entries for /OPT:*
Fixes: #20190
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index ff1eaec..f19549d 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -530,6 +530,14 @@ cmVS7FlagTable cmLocalVisualStudio7GeneratorFortranLinkFlagTable[] = { "linkIncrementalNo", 0 }, { "LinkIncremental", "INCREMENTAL:YES", "link incremental", "linkIncrementalYes", 0 }, + { "EnableCOMDATFolding", "OPT:NOICF", "Do not remove redundant COMDATs", + "optNoFolding", 0 }, + { "EnableCOMDATFolding", "OPT:ICF", "Remove redundant COMDATs", "optFolding", + 0 }, + { "OptimizeReferences", "OPT:NOREF", "Keep unreferenced data", + "optNoReferences", 0 }, + { "OptimizeReferences", "OPT:REF", "Eliminate unreferenced data", + "optReferences", 0 }, { "", "", "", "", 0 } }; |