This is a quick-start project template for C++ projects which utilises a Core/App project architecture. There are two included projects - Core, and App. Premake is used to generate project files.
Core builds into a static library and is meant to contain common code intended for use in multiple applications. App builds into an executable and links the Core static library, as well as provides an include path to Core's code.
- Clone this repository or use the "Use this template" button on GitHub to quickly set up your own repository based on this template
App/andCore/are the two projects - you can edit the names of these folders and their contents to suit you- The three included Premake build files are
Build.lua,Core/Build-Core.luaandApp/Build-App.lua- you can edit these to customise your build configurations, edit the names of your projects and workspace/solution, etc. - Run
premake5 --cc=clang --file=Build.lua gmaketo generate project files for MacOS on Apple Silicone.
- Some example code (in
App/SourceandCore/Source) to provide a starting point and test - Simple
.gitignoreto ignore project files and binaries
- UNLICENSE for this repository (see
UNLICENSE.txtfor more details) - Premake is licensed under BSD 3-Clause (see included LICENSE.txt file for more details)