💿🐜 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.

59 lines
1.2 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. # Antkeeper
  2. 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.
  3. ## Getting Started
  4. ### Prerequisites
  5. * Git
  6. * CMake
  7. * SDL 2
  8. * FreeType 2
  9. ### Download
  10. Use Git to download the `antkeeper` repository and its submodules:
  11. git clone --recursive https://github.com/cjhoward/antkeeper.git antkeeper
  12. ### Configuration
  13. Antkeeper uses the CMake build system for configuration.
  14. cd antkeeper
  15. cmake . -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DPLATFORM=win32 -DLANGUAGE=en-us
  16. ### Building
  17. cmake --build .
  18. ## Workflow
  19. ### Making Changes
  20. 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:
  21. git submodule update --recursive --remote
  22. ### Testing
  23. cmake --build . --target run
  24. ### Cleaning
  25. First perform a dry run to check what will be deleted:
  26. git clean -d -f -x -n
  27. If there are no issues, clean:
  28. git clean -d -f -x
  29. ### Shipping
  30. ## License
  31. The source code for Antkeeper is licensed under the GNU General Public License, version 3. See [COPYING](./COPYING) for details.