This repository contains third-party libraries that are needed to build BZFlag on Windows using Visual C++.
Here is a list of the upstream source locations:
- c-ares
- libcurl
- PDCurses
- regex - Looks like it was some version from NetBSD. Haven't yet found the ideal location to pull a new version from, so I'm using what we had.
- GLEW
- SDL2
- zlib
A batch file to build for Visual C++ 2017 is provided. Run the buildVC2017.bat file and it should build the libraries. Output will go into a folder such as output-release-x86. Run a 'git clean -x -f -d' before switching between Visual C++ versions.
Create an environment variable called BZ_DEPS that points to the directory that the output directories are contained within. For instance, if output-release-x86 is at 'D:\bzflag-dependencies\output-release-x86', then BZ_DEPS should be 'D:\bzflag-dependencies'.
When new versions of these dependencies are released, we should update our copies. Just delete the contents and replace with the new contents of the source tars (not zips). This should be done on a Linux or macOS system so that the execute permission on scripts is preserved.