To clone the repository including all submodules, run:
git clone --recurse-submodules https://github.com/majvax/bounty_of_two.git
cd bount_of_two
If you already cloned without submodules, initialize them with:
git submodule update --init --recursive
The project uses Premake as the build system. Depending on your platform, use one of the following scripts to generate and build the project:
-
On Windows:
-
To build with Make:
./tools/windows/Make.bat
-
To generate and open the Visual Studio 2022 solution:
./tools/windows/VS2022.bat
-
-
On Linux (It uses gmake by default):
./tools/linux/Linux.sh
To clean the build files and reset the project state, use the appropriate clean script:
-
On Windows:
./tools/windows/clean.bat
-
On Linux:
./tools/linux/clean.sh