Skip to content

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgfx

C graphics programming template using SDL2 & OpenGL:
Compiles to Win64 MacOS Linux with compile_commands.json for clangd LSP support.

Linux & Darwin Run:

  • mkdir build
  • cd build
  • cmake ..
  • make
  • ./cgfx

Win64 Run:

  • requires ninja
  • download SDL2-devel-X.YY.Z-VC.zip from https://github.com/libsdl-org/SDL/releases
  • unzip & add path to CMAKE_PREFIX_PATH environment variable
  • run x64 Native Tools Command Prompt for VS 20XX
  • scripts\build.bat -b to make build.ninja & compile_commands.json
  • scripts\build.bat -cr to compile & run exe

Win64 Toolchain:

Dependencies:

Vendored:

About

C graphics programming template with SDL2 & OpenGL

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages