chore: link libraries statically when building for `x86-windows`

master
yvt 2020-12-17 08:55:56 -08:00
parent 528a5a5cdc
commit ae7ce2f029
2 changed files with 10 additions and 9 deletions

View File

@ -110,6 +110,7 @@ GCC 4.9 / Clang 3.2 or later is recommended because OpenSpades relies on C++11 f
* For VS2015: `Visual Studio 14 (2015)`
* Platform: `Win32`
* Toolchain file: `E:/Projects/openspades/vcpkg/scripts/buildsystems/vcpkg.cmake`
* Add a new string entry `VCPKG_TARGET_TRIPLET=x86-windows-static`
6. Open `E:/Projects/openspades/OpenSpades.msvc/OpenSpades.sln` in Visual Studio.
7. Build the solution.

View File

@ -1,9 +1,9 @@
freetype
opusfile
opus
libogg
sdl2
libjpeg-turbo
sdl2-image[libjpeg-turbo]
glew
curl
freetype:x86-windows-static
opusfile:x86-windows-static
opus:x86-windows-static
libogg:x86-windows-static
sdl2:x86-windows-static
libjpeg-turbo:x86-windows-static
sdl2-image[libjpeg-turbo]:x86-windows-static
glew:x86-windows-static
curl:x86-windows-static