Skip to content

Latest commit

 

History

History
72 lines (48 loc) · 1.5 KB

README.md

File metadata and controls

72 lines (48 loc) · 1.5 KB

SDL_Sort

Visualization of typical sorting algorithms implemented using templates and sdl2.


Styleguide

This project follows the C++ Core Guidelines hosted at https ://github.com/isocpp/CppCoreGuidelines.


Getting started with Visual Studio 2019


   1. Download and extract SDL2 and SDL_ttf from https://www.libsdl.org/projects/SDL_ttf/ and https://www.libsdl.org/download-2.0.php.


   2. Add Linker dependencies
    - right click project > Properties > Linker > Additional Dependencies 
    - add SDL2.lib; SDL2main.lib; SDL2_ttf.lib;

Note: use semicolon or new line for separation


Alt text



   3. Add Include Directories
    - right click project > Properties > VC++ Directories 
                                       > Include Directories
    - enter $(SolutionDir)\inc
    - enter < path-to-sdl\include >
    - enter < path-to-sdl_ttf\include >

Alt text

   4. Add Library Directories
    - right click project > Properties > VC++ Directories 
                                       > Library Directories
    - enter $(SolutionDir)\lib
    - enter < path-to-sdl\lib\x64 > or < path-to-sdl_ttf\lib\x86 >
    - enter < path-to-sdl_ttf\lib\x64 > or < path-to-sdl_ttf\lib\x86 >

Alt text



Warning: These settings have to be done for each configuration and plattform your compiling for (see top of project properties)