Skip to content

gcardozo123/steel

Repository files navigation

steel

2d game framework pet project using C++17, SDL2, Entt and Catch2. Definitely not ready for serious usage.

Inspiration

Similarities are not coincidences, I've been taking a lot of inspiration from:

Building the environment

This project contains submodules, either clone it using

git clone --recurse-submodules <repository_link>

or, after cloning it, run:

git submodule update --init --recursive

and make sure that submodules under cmake and third_party were properly cloned.

This project uses Miniconda as a package manager and conda devenv. After installing Miniconda you need to install conda-devenv on your base (root environment) with:

conda activate base 
conda install conda-devenv
conda deactivate

Then in order to create the environment run on the root of this project:

conda devenv

And to activate it, just call:

conda activate steel

Building the project

On the root of this repository, execute:

build_steel.bat

Notes:

  1. Inside build/ there will be a Visual Studio Solution (steel.sln) and in order to make sure Visual Studio is initialized with all the correct environment variables, it's a good idea to open it from the command line with steel environment active. I use an alias to make that easier:
alias vs="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe"