Files
UnrealEngineUWP/Engine/Documentation/Source/Programming/Development/BuildConfigurations/BuildConfigurations.CHN.udn
Tianmin Xie 3d1125317c #loc UE4DocCHN. do translation & improving
[CL 3047538 by Tianmin Xie in Main branch]
2016-07-13 03:05:03 -04:00

93 lines
3.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
INTSourceChangelist:3011129
Availability: Public
Title: 编译配置参考
Description: 方案和项目的编译配置参考
Crumbs: %ROOT%, Programming, Programming/Development
Prereq: GettingStarted/RecommendedSpecifications
Related: GettingStarted/DownloadingUnrealEngine
Related: Programming/Development/BuildingUnrealEngine
Related: Programming/Development/CompilingProjects
Related: Support/Builds
Version: 4.9
[TOC (start:2 end:3)]
## 编译配置描述
虚幻引擎 4 采用了一种自定义的编译方式,通过我们的 UnrealBuildTool 工具UBT。该工具通过处理一些必要的信息来构建引擎的反射体系并将 C++ 的代码和蓝图、网络复制、序列化以及垃圾回收系统进行关联整合。
[INCLUDE:Programming/Development/CompilingProjects#winbuildconfig]
### 虚幻引擎 4 Solution 的编译设置
(#bookmark1)
当编译 UE4 的 Solution 的时候,会编译项目代码的同时也编译引擎代码,这时以下这些设置是可用的。
| | Debug | DebugGame | Development | Shipping | Test |
| ----------- | ----- | --------- | ----------- | -------- | ---- |
| **[empty]** | ✓ | ✓ | ✓ | ✓ | ✓ |
| **Editor ** | ✓ | ✓ | ✓ | | |
| **Client ** | ✓ | ✓ | ✓ | ✓ | ✓ |
| **Server ** | ✓ | ✓ | ✓ | ✓ | ✓ |
### 虚幻引擎 4 的项目Project的编译配置
在编译一个虚幻 4 项目的时候,可以仅编译项目的源代码,这时以下这些设置是可用的。
%Globals:osselect_linux%
[OBJECT:ToggleButtonContent]
[PARAMLITERAL:category]
OS
[/PARAMLITERAL]
[PARAMLITERAL:id]
windows
[/PARAMLITERAL]
[PARAMLITERAL:active]
active_button_content
[/PARAMLITERAL]
[PARAM:content]
| | Debug | DebugGame | Development | Shipping | Test |
| ----------- | ----- | --------- | ----------- | -------- | ---- |
| **[empty]** | | ✓ | ✓ | ✓ | |
| **Editor ** | | ✓ | ✓ | | |
| **Client ** | | | | | |
| **Server ** | | | | | |
[/PARAM]
[/OBJECT]
[OBJECT:ToggleButtonContent]
[PARAMLITERAL:category]
OS
[/PARAMLITERAL]
[PARAMLITERAL:id]
mac
[/PARAMLITERAL]
[PARAMLITERAL:active]
[/PARAMLITERAL]
[PARAM:content]
| | Debug | DebugGame | Development | Shipping | Test |
| ----------- | ----- | --------- | ----------- | -------- | ---- |
| **[empty]** | | ✓ | ✓ | ✓ | |
| **Editor ** | | ✓ | ✓ | | |
| **Client ** | | | | | |
| **Server ** | | | | | |
[/PARAM]
[/OBJECT]
[OBJECT:ToggleButtonContent]
[PARAMLITERAL:category]
OS
[/PARAMLITERAL]
[PARAMLITERAL:id]
linux
[/PARAMLITERAL]
[PARAMLITERAL:active]
[/PARAMLITERAL]
[PARAM:content]
[REGION:warning]
当前我们并不提供 Linux 下的虚幻引擎的二进制安装版本。
Linux 用户请参考 [虚幻引擎 4 Solution 文件的编译配置](#bookmark1) 章节。
_同时也可以参考我们 [](GettingStarted/DownloadingUnrealEngine) 文档来了解更多如何从源代码构建虚幻引擎。_
[/REGION]
[/PARAM]
[/OBJECT]