Browse Source

Projucer: Specify standard LTCG instead of incremental (fast) in the VS link options to get rid of warning about not compiling with function-level linkage

tags/2021-05-28
ed 4 years ago
parent
commit
0335d43b58
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h

+ 3
- 0
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_MSVC.h View File

@@ -625,6 +625,9 @@ public:
link->createNewChildElement ("LargeAddressAware")->addTextElement ("true");
if (config.isLinkTimeOptimisationEnabled())
link->createNewChildElement ("LinkTimeCodeGeneration")->addTextElement ("UseLinkTimeCodeGeneration");
if (additionalDependencies.isNotEmpty())
link->createNewChildElement ("AdditionalDependencies")->addTextElement (additionalDependencies);


Loading…
Cancel
Save