Exemplo n.º 1
0
 public UEBuildGame(TargetDescriptor InDesc, TargetRules InRulesObject, RulesAssembly InRulesAssembly, FileReference InTargetCsFilename)
     : base(InDesc, InRulesObject, InRulesAssembly, "UE4", InTargetCsFilename)
 {
     if (ShouldCompileMonolithic())
     {
         if (!UnrealBuildTool.IsDesktopPlatform(Platform))
         {
             // We are compiling for a console...
             // We want the output to go into the <GAME>\Binaries folder
             if (!InRulesObject.bOutputToEngineBinaries)
             {
                 OutputPaths = OutputPaths.Select(Path => new FileReference(Path.FullName.Replace("Engine\\Binaries", InDesc.TargetName + "\\Binaries"))).ToList();
             }
         }
     }
 }
Exemplo n.º 2
0
 public UEBuildGame(TargetDescriptor InDesc, TargetRules InRulesObject, string InTargetCsFilename)
     : base(InDesc, InRulesObject, "UE4", InTargetCsFilename)
 {
     if (ShouldCompileMonolithic())
     {
         if (!UnrealBuildTool.IsDesktopPlatform(Platform) || Platform == UnrealTargetPlatform.WinRT || Platform == UnrealTargetPlatform.WinRT_ARM)
         {
             // We are compiling for a console...
             // We want the output to go into the <GAME>\Binaries folder
             if (!InRulesObject.bOutputToEngineBinaries)
             {
                 OutputPaths = OutputPaths.Select(Path => Path.Replace("Engine\\Binaries", InDesc.TargetName + "\\Binaries")).ToList();
             }
         }
     }
 }
Exemplo n.º 3
0
 public UEBuildGame(
     string InGameName,
     UnrealTargetPlatform InPlatform,
     UnrealTargetConfiguration InConfiguration,
     TargetRules InRulesObject,
     List <string> InAdditionalDefinitions,
     string InRemoteRoot,
     List <OnlyModule> InOnlyModules,
     bool bInEditorRecompile)
 // NOTE: If we're building a monolithic binary, then the game and engine code are linked together into one
 //       program executable, so we want the application name to be the game name.  In the case of a modular
 //       binary, we use 'UnrealEngine' for our application name
     : base(
         InAppName: UEBuildTarget.GetBinaryBaseName(InGameName, InRulesObject, InPlatform, InConfiguration, ""),
         InGameName: InGameName,
         InPlatform: InPlatform,
         InConfiguration: InConfiguration,
         InRulesObject: InRulesObject,
         InAdditionalDefinitions: InAdditionalDefinitions,
         InRemoteRoot: InRemoteRoot,
         InOnlyModules: InOnlyModules,
         bInEditorRecompile: bInEditorRecompile
         )
 {
     if (ShouldCompileMonolithic())
     {
         if ((UnrealBuildTool.IsDesktopPlatform(Platform) == false) ||
             (Platform == UnrealTargetPlatform.WinRT) ||
             (Platform == UnrealTargetPlatform.WinRT_ARM))
         {
             // We are compiling for a console...
             // We want the output to go into the <GAME>\Binaries folder
             if (InRulesObject.bOutputToEngineBinaries == false)
             {
                 for (int Index = 0; Index < OutputPaths.Length; Index++)
                 {
                     OutputPaths[Index] = OutputPaths[Index].Replace("Engine\\Binaries", InGameName + "\\Binaries");
                 }
             }
         }
     }
 }
Exemplo n.º 4
0
 public UEBuildClient(TargetDescriptor InDesc, TargetRules InRulesObject, string InTargetCsFilename)
     : base(InDesc, InRulesObject, "UE4Client", InTargetCsFilename)
 {
     if (ShouldCompileMonolithic())
     {
         if ((UnrealBuildTool.IsDesktopPlatform(Platform) == false) ||
             (Platform == UnrealTargetPlatform.WinRT) ||
             (Platform == UnrealTargetPlatform.WinRT_ARM))
         {
             // We are compiling for a console...
             // We want the output to go into the <GAME>\Binaries folder
             if (InRulesObject.bOutputToEngineBinaries == false)
             {
                 for (int Index = 0; Index < OutputPaths.Length; Index++)
                 {
                     OutputPaths[Index] = OutputPaths[Index].Replace("Engine\\Binaries", InDesc.TargetName + "\\Binaries");
                 }
             }
         }
     }
 }