finds.dev← search

// the find

TheCherno/ProjectTemplate

★ 639 · Lua · Unlicense · updated May 2024

A little quick-start project template for C++ projects which utilise a Core/App project architecture

A minimal C++ starter template using Premake to generate project files for a Core (static lib) + App (executable) split. It's aimed at people starting a new C++ project who want a build system scaffold without the CMake ceremony. Cherno (The Cherno YouTube channel) is the author, so expect an audience of game-dev and graphics learners.

Premake is genuinely easier to read and write than CMake for this kind of simple two-project setup. The Core/App split is a reasonable default architecture that actually teaches something about library boundaries. UNLICENSE means zero friction for reuse. The setup scripts work out of the box for the two platforms that matter most for this crowd.

Premake 5 beta2 is checked in as a binary blob — you're pinned to a specific binary with no automated update path. No package manager integration (Conan, vcpkg) so adding any external dependency is immediately a manual chore. No macOS script despite macOS binaries being included, which is a half-finished detail. This scales fine to 'my game jam project' and falls apart the moment you add a second dependency or a third sub-project.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →