Skip to content

Instantly share code, notes, and snippets.

@fire
Last active August 29, 2015 14:06
Show Gist options
  • Save fire/cd46e1fb1b67c93fff07 to your computer and use it in GitHub Desktop.
Save fire/cd46e1fb1b67c93fff07 to your computer and use it in GitHub Desktop.
How to build ue from commands

How to build ue from commands

GenerateProjectFiles.bat

Build solution UE4.sln with MSVC 2013 and Build target in Win64 and /p:Configuration="Development Editor.

%system.teamcity.build.workingDir%\Engine\Build\BatchFiles\GenerateProjectFiles.bat -project %system.teamcity.build.workingDir%/ProjectMaid/ProjectMaid.uproject -game

Build solution %system.teamcity.build.checkoutDir%\ProjectMaid\ProjectMaid.sln with MSVC 2013 and Build target in Win64 and /p:Configuration="Development

if exist {outputprojectmaid\} (
    DEL /Q /S /F outputprojectmaid\
) else (
    ECHO outputprojectmaid folder does not exist
)

Engine/Build/BatchFiles/RunUAT.bat BuildCookRun -nop4 -project="%system.teamcity.build.workingDir%/ProjectMaid/ProjectMaid.uproject" -cook -allmaps -stage -archive -archivedirectory="%system.teamcity.build.checkoutDir%/outputprojectmaid" -package -pak -compressed -platform=win64 -cli -clientconfig=Development -serverconfig=Development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment