File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Pre-built Windows dependencies for [ VCMI] ( https://github.com/vcmi/vcmi )
2
+
3
+ Built and exported by [ Vcpkg] ( https://github.com/Microsoft/vcpkg ) .
4
+
5
+ ## Instructions
6
+
7
+ * Install Vcpkg and it's dependencies.
8
+ * Build all required packages for one or both architectures:
9
+ ```
10
+ 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
11
+ 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
12
+ ```
13
+ * Export packages so 7z archive will be produced:
14
+ ```
15
+ 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
16
+ 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
17
+ ```
18
+ * 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 ) .
19
+ ```
20
+ vcpkg-export-20170802-233045.7z -> vcpkg-export-x86-windows-v140.7z
21
+ vcpkg-export-20170802-233045.7z -> vcpkg-export-x64-windows-v140.7z
22
+ ```
23
+ * Rename root directory inside archive from ``` vcpkg-export-20170802-233045 ``` to ``` vcpkg ``` . Can be done via command line 7-zip:
24
+ ```
25
+ # Linux
26
+ 7za rn vcpkg-export-x64-windows-v140.7z vcpkg-export-20170802-233045 vcpkg
27
+ # Windows. Fail for some reason.
28
+ 7z.exe rn vcpkg-export-x64-windows-v140.7z vcpkg-export-20170802-233045 vcpkg
29
+ ```
You can’t perform that action at this time.
0 commit comments