This is a git repository the programming project TowerDefence-3. It contains the following:
-
plan/
-- Here is the project plan. -
doc/
-- Here are the documentation sources related to the project. -
src/
-- Here are the C++ source files. -
include/
-- The header files. -
build/
-- Makefile, CMakeFiles, and the executable binary for the game. -
build/test/
-- Executable binary for the tests. -
test/
-- Googletest and game test source files. -
CMakeLists.txt
-- Configuration for CMake. -
README.md
-- This file.
The game requires CMake and the SFML library to compile. You can get download and installation instructions from https://cmake.org and https://www.sfml-dev.org/.
- If there is something in
build/
(from another system for example) delete all files there (e.g.cd build
andrm * -rf
). - run
cmake ..
in directorybuild/
.
Run make
in the directory build/
.
The executable TD3
is in the build/
directory.
The executable runTests
is in the build/test/
directory.