查看: 169|回复: 6

[编程指南] 【Unreal Build System | Unreal Engine】

[复制链接]

1

主题

273

帖子

7万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
73034
发表于 2016-6-26 02:02:34 | 显示全部楼层 |阅读模式



<src="./images/Programming/UnrealBuildSystem/build.jpg[/img]


UnrealBuildTool
UnrealBuildTool (or UBT) is a custom tool that manages the process of building the UE4 source code across the numerous possible build configurations.  Check out BuildConfiguration.cs to explore various user-configurable build options.

If you would like to debug UnrealBuildTool or UnrealAutomationTool on Mac OS X, you must install MonoDevelop 4.2.2 and Mono 3.2.7.

UnrealHeaderTool
UnrealHeaderTool (or UHT) is a custom parsing and code-generation tool that supports the UObject system.  Code compilation happens in two phases:

UHT is invoked, which parses the C++ headers for Unreal-related class metadata and generates custom code to implement the various UObject-related features.

The normal C++ compiler is invoked to compile the results.

When compiling, it is possible for either tool to emit errors, so be sure to look carefully.

Project Files
The build process happens independently of any project files for the development environment, such as .sln or .vcproj files for Visual Studio.  These files are useful to have for editing purposes though, so there is a provided tool to generate them dynamically based on the contents of your project directory tree. You can run this tool with the GenerateProjectFiles.bat file located in your root /UE4 directory. It is generally useful to run this batch file from time to time to keep your code editor in sync with code files you have added or removed on disk.

Modular Architecture
UE4 is split into many modules.  Each module has a .build.cs file that controls how it is built, including options for defining module dependencies, additional libraries, include paths, etc.

By default, these modules are compiled into DLLs and loaded by a single executable.  You can choose to build a monolithic executable in the BuildConfiguration.cs file.

     
<src="./images/./start_icon.png[/img]


     
Essentials

项目文件自动生成

从源码起构建虚幻引擎




   
<src="./images/./profile_icon.png[/img]


     
Setup  Configuration

配置虚幻编译系统

虚幻引擎编译系统的目标文件
回复

使用道具 举报

0

主题

846

帖子

2789

积分

vip会员

Rank: 1

积分
2789
发表于 2016-7-2 19:27:34 来自手机 | 显示全部楼层
感谢分享,学习一下!
回复 支持 反对

使用道具 举报

0

主题

856

帖子

2824

积分

vip会员

Rank: 1

积分
2824
发表于 2016-7-3 11:05:13 来自手机 | 显示全部楼层
好东西都要支持, 谢谢了
回复 支持 反对

使用道具 举报

0

主题

872

帖子

2846

积分

vip会员

Rank: 1

积分
2846
发表于 2016-7-4 07:16:38 | 显示全部楼层
谢谢版主分享,现在又看到它了,我就不能放弃,
回复 支持 反对

使用道具 举报

0

主题

856

帖子

2840

积分

vip会员

Rank: 1

积分
2840
发表于 2016-7-7 15:00:35 来自手机 | 显示全部楼层
这个必须顶,撸主好人
回复 支持 反对

使用道具 举报

0

主题

871

帖子

2837

积分

vip会员

Rank: 1

积分
2837
发表于 2016-7-15 15:06:53 来自手机 | 显示全部楼层
看看这个得多少钱
回复 支持 反对

使用道具 举报

0

主题

846

帖子

2769

积分

vip会员

Rank: 1

积分
2769
发表于 2016-7-20 07:50:33 来自手机 | 显示全部楼层
很好的东西!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | enginedx注册

本版积分规则

 
 



邮件留言:


 
返回顶部