Announcement

Collapse
No announcement yet.

How do I build Unreal Engine from source using an cmd command?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I build Unreal Engine from source using an cmd command?

    I got the source version of Unreal Engine 4.25 and my computer isn't powerful enough due to build the unreal engine and have visual studio open. Is there a command that will let me do it from the command prompt? P.S. I'm using Win10 1903 an VS2019.

    #2
    What does "powerful enough" mean?
    The Visual Studio IDE is quite small on system demands, so keeping it open or not shouldn't matter much, compared to the needs of the Unreal Editor itself.

    Anyway, Visual Studio comes with a tool called "MSBuild" that you can use to build any solution/project from the command line. Here are the README instructions for UE4:
    [Load the project into Visual Studio by double-clicking on the UE4.sln file. Set your solution configuration to Development Editor and your solution platform to Win64, then right click on the UE4 target and select Build.
    Just point MSBuild at the UE4 project and tell it to build the Win64 / Development Editor target, and it will do it.
    Here's the full documentation:
    https://docs.microsoft.com/en-us/vis...e?view=vs-2019

    Comment


      #3
      I looked through the document above and it works 100%! Thank you for your help. Also, I think the reason why VS is freezing is due to my laptop having integrated graphics and it has 4GB of RAM.

      Comment

      Working...
      X