C graphics programming template using SDL2 & OpenGL:
Compiles to Win64 MacOS Linux with compile_commands.json
for clangd LSP support.
mkdir build
cd build
cmake ..
make
./cgfx
- from
x64 Native Tools Command Prompt for VS 2019
- Install & Integrate VCPKG
- Install dependencies through VCPKG.
scripts\build.bat -b
to build.sln
&compile_commands.json
. (check DCMAKE_TOOLCHAIN_FILE path)scripts\build.bat -cr
to compile & run exe.