Hi all,
is there a way to clean up all intermediate files after a successful Linux build to free some of the HD storage again, like “make clean”, or maybe a simple way to install the binaries in, say, /opt, like other packages?
Thx in advance.
Hi all,
is there a way to clean up all intermediate files after a successful Linux build to free some of the HD storage again, like “make clean”, or maybe a simple way to install the binaries in, say, /opt, like other packages?
Thx in advance.
Yes, you run UnrealBuildTool with -clean option. It will only delete object files, but you can manually delete intermediate folder and if you use generated IDE project, you need to regenerate it again as UBT holds some project files in Intermediate
Thanks a lot for the help and sorry for the late reply, I got sidetracked …
It seems UnrealBuildTool isn’t included in a default build under Linux? I could find directories related to it but no compiled binary. However I have to postpone that issue for another couple of days … other business inserted itself.
make ARGS="-clean"
That’s the command you are looking for
Unfortunately this will “clean” everything, even the libraries and programs. The OP only wants to clean intermediate and temporary files, not the built programs (in my understanding).
you can use
make ARGS="-clean" StandardSet
StandardSet is the only target I ever need to build for UE5.5 on Linux ( I am not trying to debug the Editor just my game projects)
StandardSet is an alias for the following Targets:
CrashReportClient-Linux-Shipping CrashReportClientEditor-Linux-Shipping ShaderCompileWorker UnrealLightmass EpicWebHelper-Linux-Shipping UnrealFrontend UnrealEditor UnrealInsights
supposedly on the GitHub Repo for UnrealEngine blank target make
and make all
and make StandardSet
are all the same targets but when I executemake
it wasn’t targeting just the StandardSet
From within the 5.5 Makefile:
all: StandardSet
RequiredTools: CrashReportClient-Linux-Shipping CrashReportClientEditor-Linux-Shipping ShaderCompileWorker UnrealLightmass EpicWebHelper-Linux-Shipping
StandardSet: RequiredTools UnrealFrontend UnrealEditor UnrealInsights
If you need to develop or debug the editor use the target DebugSet:
DebugSet: RequiredTools UnrealFrontend-Linux-Debug UnrealEditor-Linux-Debug