Skip to content

BZFlag-Dev/bzflag-dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BZFlag Dependencies

This repository contains third-party libraries that are needed to build BZFlag on Windows using Visual C++.

Upstream

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

Building the libraries

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.

Using the libraries

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'.

Updating the libraries

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.