Skip to content

Commit

Permalink
Fixed Windows .pdb debug filename (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
pl-dsk authored Aug 30, 2022
1 parent 811e47d commit 3bd25cd
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void Init(TargetInfo Target, string InMayaVersionString)

if (!IsLinux)
{
PostBuildSteps.Add(string.Format("xcopy /y /i /v \"{0}\\{1}.*\" \"{2}\\{3}_{4}.*\" 1>nul", EngineBinariesDir, OutputName, PostBuildBinDir, MllName, UEVersion));
PostBuildSteps.Add(string.Format("xcopy /y /i /v \"{0}\\{1}.*\" \"{2}\\{3}.*\" 1>nul", EngineBinariesDir, OutputName, PostBuildBinDir, OutputName));
}
else
{
Expand All @@ -173,9 +173,10 @@ private void Init(TargetInfo Target, string InMayaVersionString)
{
// Rename dll as mll
string OutputFileName = Path.Combine(PostBuildBinDir, MllName + "_" + UEVersion);
string SourceFileName = Path.Combine(PostBuildBinDir, OutputName);

PostBuildSteps.Add(string.Format("echo Renaming {0}.dll to {1}.mll...", OutputFileName, Name));
PostBuildSteps.Add(string.Format("xcopy /Y /V \"{0}.dll\" \"{1}*.mll\" 1>nul", OutputFileName, OutputFileName));
PostBuildSteps.Add(string.Format("echo Renaming {0}.dll to {1}.mll...", SourceFileName, OutputFileName));
PostBuildSteps.Add(string.Format("move /Y \"{0}.dll\" \"{1}.mll\" 1>nul", SourceFileName, OutputFileName));
}
}
}

0 comments on commit 3bd25cd

Please sign in to comment.