Skip to content

tomconder/maze

Repository files navigation

Maze

A nice walk through a maze.

For more information please check out the full documentation

Project Organization

3rdparty/        # third party dependencies
build-scripts/   # build utility scripts
docs/            # documentation
game/            # source files for maze
sponge/          # source files for sponge game engine

Installing

Clone this repository.

git clone https://github.com/tomconder/maze.git

Install vcpkg, a dependency and package manager for C++.

Set VCPKG_ROOT to the location where you installed vcpkg

export VCPKG_ROOT <path to vcpkg>

Install CMake, a cross-platform build system.

Now you can use a preset to compile maze. Possible values are: x64-debug, x64-release, osx-debug, osx-release, linux-debug, linux-release

cmake -DCMAKE_BUILD_TYPE=Release --preset x64-release
cmake --build out/build/x64-release --target game --config Release

Or, for Linux

cmake --preset linux-release
cmake --build --preset build-linux

The maze executable will be found in the build directory: out\build\x64-release\maze\Release\maze.exe