diff options
author | Brad King <brad.king@kitware.com> | 2020-01-14 14:00:03 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-14 09:01:21 -0500 |
commit | c42ade942da89fc7542829b96cf21415a2f855ac (patch) | |
tree | 807e1476301243ffe5b3d735ec028955e47eb0fd | |
parent | 4aa8397a4fd5a21bdea17b1b85d318909426cd8a (diff) | |
parent | a3c827b2eafb67d28558cc5ffe3f3dc239a12196 (diff) | |
download | cmake-c42ade942da89fc7542829b96cf21415a2f855ac.tar.gz |
Merge topic 'vs-Fortran-link-flags'
a3c827b2ea VS: Add Fortran link flag table entries for /OPT:*
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4210
-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 7683855d7d..55a9a72cb1 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 } }; |