Skip to content

Commit

Permalink
Fix for the linking errors happening at the first full recompilation/…
Browse files Browse the repository at this point in the history
…linking after a "hot reload compilation".

Also potentially fixing a couple of incremental compilation failures.
  • Loading branch information
yass007 committed Apr 17, 2017
1 parent 4070f0d commit 3c55e1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FASTBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class FASTBuild : ActionExecutor

// Location of the shared cache, it could be a local or network path (i.e: @"\\DESKTOP-BEAST\FASTBuildCache").
// Only relevant if bEnableCaching is true;
private string CachePath = ""; //@"\\DESKTOP-BEAST\FASTBuildCache";
private string CachePath = ""; //@"\\YourCacheFolderPath";

public enum eCacheMode
{
Expand Down Expand Up @@ -823,9 +823,9 @@ private void AddLinkAction(List<Action> Actions, int ActionIndex, List<int> Depe
{
AddText(string.Format("\t.Libraries = {{ '{0}' }} \n", ResponseFilePath));
if (IsMSVC())
AddText(string.Format("\t.LinkerOptions = '@\"%1\" /Out:\"%2\" {0}' \n", OtherCompilerOptions));
AddText(string.Format("\t.LinkerOptions = '/TLBOUT:\"%1\" /Out:\"%2\" @\"{0}\" ' \n", ResponseFilePath)); // The TLBOUT is a huge bodge to consume the %1.
else
AddText(string.Format("\t.LinkerOptions = '-o \"%2\" @\"%1\" {0}' \n", OtherCompilerOptions));
AddText(string.Format("\t.LinkerOptions = '-o \"%2\" @\"{0}\" {1} -MQ \"%1\"' \n", ResponseFilePath, OtherCompilerOptions)); // The MQ is a huge bodge to consume the %1.
}
else
{
Expand Down

0 comments on commit 3c55e1f

Please sign in to comment.