💿🐜 Antkeeper source code https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

1.2 KiB

Antkeeper

Antkeeper is an ant colony simulation game. This repository contains all of the source code to Antkeeper. The game data, however, is proprietary and resides in a closed-source Git submodule.

Getting Started

Prerequisites

  • Git
  • CMake
  • SDL 2
  • FreeType 2

Download

Use Git to download the antkeeper repository and its submodules:

git clone --recursive https://github.com/cjhoward/antkeeper.git antkeeper

Configuration

Antkeeper uses the CMake build system for configuration.

cd antkeeper
cmake . -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DPLATFORM=win32 -DLANGUAGE=en-us

Building

cmake --build .

Workflow

Making Changes

If any changes have been made to the submodules, commit those first. Each submodule can then be updated to their latest commits with the following command:

git submodule update --recursive --remote

Testing

cmake --build . --target run

Cleaning

First perform a dry run to check what will be deleted:

git clean -d -f -x -n

If there are no issues, clean:

git clean -d -f -x

Shipping

License

The source code for Antkeeper is licensed under the GNU General Public License, version 3. See COPYING for details.