{"id":21471825,"url":"https://github.com/deccer/cmake-glfw-opengl-template","last_synced_at":"2025-07-15T08:31:30.863Z","repository":{"id":130697312,"uuid":"544872483","full_name":"deccer/CMake-Glfw-OpenGL-Template","owner":"deccer","description":"CMake based C++ Project template with support for glfw, glad, imgui, spdlog, tracy, stb-image and cgltf","archived":false,"fork":false,"pushed_at":"2025-05-24T09:01:11.000Z","size":338,"stargazers_count":68,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-24T10:18:18.053Z","etag":null,"topics":["cgltf","cmake","cpp","dear-imgui","glfw","glm","imgui","opengl","project-template","spdlog","stb-image","tracy"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deccer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-03T11:35:16.000Z","updated_at":"2025-05-20T00:13:27.000Z","dependencies_parsed_at":"2024-05-20T22:57:23.616Z","dependency_job_id":"0fe8372d-c875-4ba4-a03c-8c2563f2e9a5","html_url":"https://github.com/deccer/CMake-Glfw-OpenGL-Template","commit_stats":{"total_commits":44,"total_committers":5,"mean_commits":8.8,"dds":0.5227272727272727,"last_synced_commit":"0fad10a932a28e1f6ddddeee8dd6da15cfe74178"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/deccer/CMake-Glfw-OpenGL-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deccer%2FCMake-Glfw-OpenGL-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deccer%2FCMake-Glfw-OpenGL-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deccer%2FCMake-Glfw-OpenGL-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deccer%2FCMake-Glfw-OpenGL-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deccer","download_url":"https://codeload.github.com/deccer/CMake-Glfw-OpenGL-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deccer%2FCMake-Glfw-OpenGL-Template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265419694,"owners_count":23761858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cgltf","cmake","cpp","dear-imgui","glfw","glm","imgui","opengl","project-template","spdlog","stb-image","tracy"],"created_at":"2024-11-23T09:45:48.627Z","updated_at":"2025-07-15T08:31:30.575Z","avatar_url":"https://github.com/deccer.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMake-Glfw-OpenGL-Template\n\n## What is this?\n\nCMake based C++ Project template with support for glfw, glad, imgui, spdlog, tracy, stbi, cgltf\n\nThis template is split into three parts\n\n`Project` and `Project.Library` and `lib`\n\n`Project` will be your actual project/game,\n`Project.Library` containing supporting functions, things you might be reusing for something else. It could also contain your graphics/game engine abstractions.\n\nThis template provides a basic `Application` base class, ready to go, including window creation via `glfw`, hooking up `OpenGL` via `glad`, preparing UI rendering via `dear imgui`, logging via `spdlog` and comes with profiler capabilities via `tracy` too. The example also loads a model with textures via `cgltf` and `stbi`.\n\n`lib` contains the list of dependencies used by projects across the solution, in this case, `imgui`, `spdlog`, `glm`, `tracy`, `stbi` and `cgltf`.\n\nThe project provides a tiny example of an application which most graphics-engine/game-engine/game developers/vfx artists or perhaps even researchers write, and its always the same, some window glue, some opengl loading,\nsome mesh rendering and texture loading, `spdlog` unifies logging here - as each and every project I've seen keeps using `printf` or `cout` or most likely some self-rolled `logger` which is really unnecessary.\n\n![Screenshot](screenshots/screenshot.png)\n\n## For whom is this for?\n\n- Prototyping\n- Game Jams\n- Getting started with programming\n- Getting started with graphics programming\n\n## What do you need?\n\n- `CMake`\n- for VSCode the `CMake Tools` extension from Microsoft\n- a compiler of your choice (Clang, GCC, MSVC)\n\nMake sure to run `git submodule update --init --recursive` upon cloning the repository to ensure that Deccer's Cubes are included.\n\n## Assumptions\n\nThis project template assumes the following things\n\n- OpenGL 4.6 support (can be changed in `Application.cpp:59-60`)\n- Resolution \u003e= 1920x1080 so that you can actually use the window (can be changed in `Application.cpp:66-67`)\n\n## What's next?\n\nYou most likely dont want to name your program `Project` and or `Project.Library`. Use your favorite search tool and replace `Project.Library` with `UE6.Engine` and `Project` with `UE6` :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeccer%2Fcmake-glfw-opengl-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeccer%2Fcmake-glfw-opengl-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeccer%2Fcmake-glfw-opengl-template/lists"}