1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-20 21:40:15 +08:00

VS: Add Fortran link flag table entries for /OPT:*

Fixes: #20190
This commit is contained in:
Pavel Liavonau
2020-01-13 15:18:52 +03:00
committed by Brad King
parent 512ab500f0
commit a3c827b2ea

View File

@@ -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 }
};