PS C:\gtk-build\git-hub\gtk-win32> Get-Help -Full .\build.ps1 名前 C:\gtk-build\git-hub\gtk-win32\build.ps1 概要 This is a build script to build GTK+ 2 and openssl. 構文 C:\gtk-build\git-hub\gtk-win32\build.ps1 [[-Configuration] <String>] [-DisableParallelBuild] [[-BuildDirectory] <St ring>] [[-Msys2Directory] <String>] [[-ArchivesDownloadDirectory] <String>] [[-PatchesRootDirectory] <String>] [[-V SInstallPath] <String>] [[-CMakePath] <String>] [[-PerlDirectory] <String>] [[-OnlyBuild] <String[]>] [<CommonParam eters>] 説明 1. Install the requirements mentioned in the README 2. Run this script. Set the parameters, if needed. パラメーター -Configuration <String> The configuration to be built. One of the following: x86 - 32-bit build. x64 - 64-bit build. Uses the 32-bit cross-compiler with VS Express or the native 64-bit compiler with VS Professional and up. 必須 false 位置 1 既定値 x86 パイプライン入力を許可する false ワイルドカード文字を許可する false -DisableParallelBuild [<SwitchParameter>] Setting this to $true forces the items to be built one after the other. 必須 false 位置 named 既定値 False パイプライン入力を許可する false ワイルドカード文字を許可する false -BuildDirectory <String> The directory where the sources will be downloaded and built. 必須 false 位置 2 既定値 C:\gtk-build パイプライン入力を許可する false ワイルドカード文字を許可する false -Msys2Directory <String> The directory where you installed msys2. 必須 false 位置 3 既定値 C:\msys32 パイプライン入力を許可する false ワイルドカード文字を許可する false -ArchivesDownloadDirectory <String> The directory to download the source archives to. It will be created. If a source archive already exists here, it won't be downloaded again. 必須 false 位置 4 既定値 "$BuildDirectory\src" パイプライン入力を許可する false ワイルドカード文字を許可する false -PatchesRootDirectory <String> The directory where you checked out https://github.com/hexchat/gtk-win32.git 必須 false 位置 5 既定値 "$BuildDirectory\github\gtk-win32" パイプライン入力を許可する false ワイルドカード文字を許可する false -VSInstallPath <String> The directory where you installed Visual Studio. 必須 false 位置 6 既定値 C:\Program Files (x86)\Microsoft Visual Studio 14.0 パイプライン入力を許可する false ワイルドカード文字を許可する false -CMakePath <String> The directory where you installed cmake. 必須 false 位置 7 既定値 C:\Program Files (x86)\CMake\bin パイプライン入力を許可する false ワイルドカード文字を許可する false -PerlDirectory <String> The directory where you installed perl. 必須 false 位置 8 既定値 "$BuildDirectory\perl-5.20" パイプライン入力を許可する false ワイルドカード文字を許可する false -OnlyBuild <String[]> A subset of the items you want built. 必須 false 位置 9 既定値 @() パイプライン入力を許可する false ワイルドカード文字を許可する false <CommonParameters> このコマンドレットは、次の共通パラメーターをサポートします: Verbose、 Debug、ErrorAction、ErrorVariable、WarningAction、WarningVariable、 OutBuffer, PipelineVariable、および OutVariable。詳細については、 about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216) を参照してください。 入力 出力 -------------------------- 例 1 -------------------------- PS C:\>build.ps1 Default paths. x86 build. -------------------------- 例 2 -------------------------- PS C:\>build.ps1 -Configuration x64 Default paths. x64 build. -------------------------- 例 3 -------------------------- PS C:\>build.ps1 -DisableParallelBuild Default paths. Items are built one at a time. x86 build. -------------------------- 例 4 -------------------------- PS C:\>build.ps1 -Msys2Directory D:\msys32 -ArchivesDownloadDirectory C:\hexchat-deps Custom paths. x86 build. -------------------------- 例 5 -------------------------- PS C:\>build.ps1 -OnlyBuild libpng Only builds libpng and its dependencies (zlib). 関連するリンク http://hexchat.github.io/gtk-win32/ PS C:\gtk-build\git-hub\gtk-win32>