networking basics
This commit is contained in:
@@ -29,11 +29,14 @@ public class GameTarget : GameProjectTarget
|
||||
|
||||
public override string GetOutputFilePath(BuildOptions options, TargetOutputType? outputType = null)
|
||||
{
|
||||
// For IDE builds only, these do not work during cooking (fails to update cooked files in multiple ways)
|
||||
if (options.Configuration == TargetConfiguration.Development)
|
||||
options.OutputFolder = @"C:\dev\GoakeFlax\Output\WindowsDevelopment";
|
||||
else if (options.Configuration == TargetConfiguration.Release)
|
||||
options.OutputFolder = @"C:\dev\GoakeFlax\Output\WindowsRelease";
|
||||
if (!Environment.CommandLine.Contains("Cooker")) // Hacky way to detect if this is run during cooking
|
||||
{
|
||||
// Output files directly to cooked folders (used only during development)
|
||||
if (options.Configuration == TargetConfiguration.Development)
|
||||
options.OutputFolder = @"C:\dev\GoakeFlax\Output\WindowsDevelopment";
|
||||
else if (options.Configuration == TargetConfiguration.Release)
|
||||
options.OutputFolder = @"C:\dev\GoakeFlax\Output\WindowsRelease";
|
||||
}
|
||||
|
||||
return base.GetOutputFilePath(options, outputType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user