Files
UnrealEngineUWP/Engine/Documentation/Source/Programming/UnrealBuildSystem/Configuration/Windows/BuildConfigurationWindows.JPN.udn
Masayo Kondo b753a646b3 #loc UE4DocJpn File updated against INT#2571062
[CL 2572275 by Masayo Kondo in Main branch]
2015-06-01 04:58:10 -04:00

45 lines
2.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.
Availability:Public
Title:Windows のアンリアル ビルドシステムの設定
Crumbs: %ROOT%, Programming, Programming/UnrealBuildSystem/Configuration
Description:Windows でエンジンのビルドを制御するアンリアル ビルドシステムの設定
バージョン4.5
アンリアルビルドシステムは、さまざまな用途に合わせたビルドプロセスの変更を、`BuildConfiguration.cs` を通じて設定できます。
Windows 固有のオプションに対して、`UEBuildWindows.cs` 設定を変更することができます。
## Windows XP のサポートを追加する
### 最低限の仕様
**Service Pack 3 の Windows XP に限りサポートします。**
**OpenGL 3.2 をサポートするビデオ カードも必須です。**
### Windows XP のサポートでビルドする
$ WindowsPlatform::SupportWindowsXP :_true_ ならば、Windows XP と互換性がある UE4 のビルドが作成されます。
XP のサポートを有効にするには、`SetupEnvironment` で強制的にオフになる場所を見つけて、これを以下を用いて更新します。
public override void SetUpEnvironment(UEBuildTarget InBuildTarget)
{
...
// Win32 XP はこの場合に限りサポートされます。
SupportWindowsXP = InBuildTarget.Platform == UnrealTargetPlatform.Win32;
Windows XP 互換のビルドを有効にすると、コンパイラが`Windows SDK 7.1` を使用するように強制します。つまり、`Windows SDK 8.0` が提供する機能はコンパイルしません。sdk 固有のコードを WINVER チェックでラップすることができます。:
#if WINVER == 0x0502
// Windows SDK 7.1 コードがこのブロック内に存在するはずです。
#else
// Windows SDK 8.0 コードがこのブロック内に存在するはずです。
#endif
### Windows XP でゲームを実行する
WindowsXP は DirectX 10 または DirectX 11 をサポートしていないため、 ゲームのターゲット RHI として OpenGL が含まれていなければなりません。
OpenGL を含むためのオプションは以下のようにエディタにあります。
_Edit->Project Settings->Platform->Windows_
[![](EnableOpenGLForWindows.png)](Programming/UnrealBuildSystem/Configuration/Windows)
ゲームをパッケージングすると、ゲームの実行可能ファイルを Windows XP マシンのバイナリ ディレクトリから実行できるようになります。