Skip to content

Commit

Permalink
chore: link libraries statically when building for x86-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yvt committed Dec 18, 2020
1 parent 528a5a5 commit ae7ce2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
18 changes: 9 additions & 9 deletions vcpkg_x86-windows.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ae7ce2f

Please sign in to comment.