guyllaumedemers / SDL2-Tetris

Learning sdl2 and CMake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDL2-Tetris

Learning sdl2 and CMake, Out-of-Source Build

Refactoring SDL2-GameDev/Tetris

Overview

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.

How to Run

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

Note : CMake setup expect proper ENV PATH setup on your machine.

💬 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

About

Learning sdl2 and CMake


Languages

Language:C++ 87.9%Language:CMake 10.9%Language:C 1.0%Language:Batchfile 0.2%