summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-14 14:00:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-14 14:01:21 (GMT)
commite74049b3887432cbb972bb0948edf6615a7ebd69 (patch)
treeac3786216ec6640d01592172392a171ae111911d /Source
parente6c5bed2aa4ec729dd9d91c056c0147a1f5cd16e (diff)
parenta3c827b2eafb67d28558cc5ffe3f3dc239a12196 (diff)
downloadCMake-e74049b3887432cbb972bb0948edf6615a7ebd69.zip
CMake-e74049b3887432cbb972bb0948edf6615a7ebd69.tar.gz
CMake-e74049b3887432cbb972bb0948edf6615a7ebd69.tar.bz2
Merge topic 'vs-Fortran-link-flags' into release-3.16
a3c827b2ea VS: Add Fortran link flag table entries for /OPT:* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4210
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx8
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 }
};