-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2a6c4c3
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Pre-built Windows dependencies for [VCMI](https://github.com/vcmi/vcmi) | ||
|
||
Built and exported by [Vcpkg](https://github.com/Microsoft/vcpkg). | ||
|
||
## Instructions | ||
|
||
* Install Vcpkg and it's dependencies. | ||
* Build all required packages for one or both architectures: | ||
``` | ||
vcpkg install minizip:x64-windows sdl2:x64-windows sdl2-image:x64-windows sdl2-ttf:x64-windows sdl2-mixer:x64-windows boost:x64-windows qt5:x64-windows ffmpeg:x64-windows | ||
vcpkg install minizip:x86-windows sdl2:x86-windows sdl2-image:x86-windows sdl2-ttf:x86-windows sdl2-mixer:x86-windows boost:x86-windows qt5:x86-windows ffmpeg:x86-windows | ||
``` | ||
* Export packages so 7z archive will be produced: | ||
``` | ||
vcpkg export minizip:x64-windows sdl2:x64-windows sdl2-image:x64-windows sdl2-ttf:x64-windows sdl2-mixer:x64-windows boost:x64-windows qt5:x64-windows ffmpeg:x64-windows --7zip | ||
vcpkg export minizip:x86-windows sdl2:x86-windows sdl2-image:x86-windows sdl2-ttf:x86-windows sdl2-mixer:x86-windows boost:x86-windows qt5:x86-windows ffmpeg:x86-windows --7zip | ||
``` | ||
* Rename archives appropriately. Bevare that Vcpkg use newest MSVC available by default, but [it's possible to enforce certain version with custom triplet](https://github.com/Microsoft/vcpkg/issues/1207). | ||
``` | ||
vcpkg-export-20170802-233045.7z -> vcpkg-export-x86-windows-v140.7z | ||
vcpkg-export-20170802-233045.7z -> vcpkg-export-x64-windows-v140.7z | ||
``` | ||
* Rename root directory inside archive from ```vcpkg-export-20170802-233045``` to ```vcpkg```. Can be done via command line 7-zip: | ||
``` | ||
# Linux | ||
7za rn vcpkg-export-x64-windows-v140.7z vcpkg-export-20170802-233045 vcpkg | ||
# Windows. Fail for some reason. | ||
7z.exe rn vcpkg-export-x64-windows-v140.7z vcpkg-export-20170802-233045 vcpkg | ||
``` |