Learning sdl2 and CMake, Out-of-Source Build
Refactoring SDL2-GameDev/Tetris
SDL2-Tetris is a demo project built using Modern CMake. Project Optimization is under development, aim at reducing stack allocation and currently favor RValue Reference for Move semantics and LValue Reference for RValues literals and Heap allocated values.
Note : Assembly instructions call comparisons will be required to confirm the improvement of code efficiency. Compiler optimization level will be disable in a near future.
To Run this project and generate MSVC solution, open powershell and run the following cmd from the project root directory.
.\config.cmd
.\build.cmd
.\run.cmd
💬 References for general c++ knowledge and optimization of physical desing are given from : C++ Programming Language, Large-Scale-Software-Design-John-Lakos
💬 References on CMake are given under : Modern CMake for C++, Mastering CMake