/sdl-log-example

Me figuring out SDL’s logging API

Primary LanguageCCreative Commons Zero v1.0 UniversalCC0-1.0

SDL Logging Example

The code in this repo was written in order to help me evaluate whether or not it makes sense for the Descent 3 project to replace spdlog with SDL’s logging API. For more information, take a look at the comments on this pull request.

How to run the code that’s in this repo

  1. Get a copy of this repo.

  2. Change directory into your local copy of this repo:

    cd <repo>
    
  3. Make sure that you have the following prerequisites installed:

    If you have the Nix package manager installed, then you can run nix-shell to start a shell with all of those prerequisites installed.

  4. Generate the project’s build system:

    cmake -B build
    
  5. Build the project:

    cmake --build build
    
  6. Run the executable:

    build/sdl-log-example
    

Copying

Everything in this repo is dedicated to the public domain using 🅭🄍 1.0.