Skip to content

Instantly share code, notes, and snippets.

@posilva
Last active May 17, 2023 23:16
Show Gist options
  • Save posilva/e9cf9bb0c4fc9661f3bf7b2513434f8c to your computer and use it in GitHub Desktop.
Save posilva/e9cf9bb0c4fc9661f3bf7b2513434f8c to your computer and use it in GitHub Desktop.
Unreal Notes using BuildGraph
# 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