Last active
August 30, 2024 06:44
-
-
Save posilva/e9cf9bb0c4fc9661f3bf7b2513434f8c to your computer and use it in GitHub Desktop.
Unreal Notes using BuildGraph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List the existing targets in the installed engine build | |
./Engine/Build/BatchFiles/RunUAT.command BuildGraph -Script=Engine/Build/InstalledEngineBuild.xml -ListOnly | |
# Build Editor | |
./Engine/Build/BatchFiles/RunUAT.command BuildGraph -Script=Engine/Build/InstalledEngineBuild.xml -Target="Editor Mac" | |
# Build the editor but remove the Android and other options | |
./Engine/Build/BatchFiles/RunUAT.command BuildGraph \ | |
-Script=Engine/Build/InstalledEngineBuild.xml \ | |
-Target="Make Installed Build Mac" \ | |
-set:WithMac=true \ | |
-set:WithIOS=true \ | |
-set:WithTVOS=true \ | |
-set:WithClient=true \ | |
-set:WithServer=true \ | |
-set:WithAndroid=false \ | |
-set:WithLumin=false \ | |
-set:WithWin32=false \ | |
-set:WithWin64=false \ | |
-set:WithLinux=true | |
# Build configuration to limit the use of cores | |
<LocalExecutor> | |
<ProcessorCountMultiplier>2</ProcessorCountMultiplier> | |
<MaxProcessorCount>8</MaxProcessorCount> | |
</LocalExecutor> | |
<ParallelExecutor> | |
<ProcessorCountMultiplier>2</ProcessorCountMultiplier> | |
<MaxProcessorCount>8</MaxProcessorCount> | |
</ParallelExecutor> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment