Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build system for Unreal Engine projects for Sublime Text
{
"cmd": [
// Default path for UE 5
"C:/Program Files/Epic Games/UE_5.0/Engine/Build/BatchFiles/Build.bat",
// Build configuration is set to "Development" by default
"Development",
// The platform is set to Win64 by default
"Win64",
"-Project",
// The Sublime project name must match the Unreal project filename
// E.g. "MyProject.sublime-project" for "MyProject.uproject"
// Or manually set the different UE project filename in the line below
"$folder/$project_base_name.uproject",
// If you need to build a standalone (non-editor) - replace the line below
"-TargetType=Editor",
// "-TargetType=Game",
"-Progress",
// Hot reload is disabled - need to close the UnrealEditor before build
"-NoHotReloadFromIDE"
],
"shell": true,
// The UE project's root folder must be added to teh project as a first one
// E.g. it should be visible as a first folder in the side bar in Sublime
"working_dir": "$folder",
// Regexpt to parse the unreal's compilation Errors and Warnings
"file_regex": "^\\s*([A-Z]:[^\\(]+)\\((\\d+)\\)()\\s*:\\s(([Ee]rror|[Ww]arning)[^\n]+)",
// Don't wrap the build output
"word_wrap": false,
// Don't log Sublime's error messages in case if build failed
"quiet": true,
}
@norlin
Copy link
Author

norlin commented Feb 23, 2022

  • Updated for UE 5, basically it's the same but path changed - there is a bat script for command-line builds.

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