[UE4]官方示范demo工程ShooterGame手动编译的方式(和UE4引擎源码一起编译)
原文地址:https://answers.unrealengine.com/questions/16760/how-to-compile-the-shooter-game-sample-manually.html
Here is how to get the Shooter project to run in your own compiled version of the engine:
-
Right Click on the .uproject file and select, "Generate Visual Studio Files."
-
Open the Visual Studio Solution
-
Make sure your project is set to build for, "Development Editor" in the Solution Configurations drop-down.
-
Select the project container (Not the Solution Container) in the Solution Explorer, right click on it and select, "Properties."
-
Under Configuration Properties select, "NMake."
-
Find and replace everywhere that the project is looking for the Launcher installed version of the engine and replace those path with the correct paths to your source built version of UE4.
-
Clean the Solution.
-
Build the Solution.
The project should now open without errors in your source built version of the Editor.