A template for new C++ SDL projects in vsCode using premake
Find a file Use this template
Sarah Faey fc11f5c095 changed name in license
added *.make files to gitignore
2024-09-18 22:58:07 +02:00
.ecc added template files 2024-09-18 22:53:52 +02:00
.vscode added template files 2024-09-18 22:53:52 +02:00
.gitignore changed name in license 2024-09-18 22:58:07 +02:00
LICENSE changed name in license 2024-09-18 22:58:07 +02:00
main.cpp added template files 2024-09-18 22:53:52 +02:00
premake5.lua added template files 2024-09-18 22:53:52 +02:00
README.md added template files 2024-09-18 22:53:52 +02:00

CPP-SDL-Template

A template for new C++ SDL projects in vsCode

vsCode Extensions:
clangd
CodeLLDB

premake5 is used to create the Makefile
.ecc is used by premake5 to create compile_commands.json for clangd

usage:
in premake5.lua change "workspace" and "project" variable
in .vscode/launch.json change "program" to the same name as used in the premake5.lua file above

use the command "premake5 vs2022" to create VS files. (not tested)